diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-02-05 15:43:10 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-02-05 15:43:10 +0000 |
commit | 8b719a3c92918f0456c16de5393970c6dfe045ce (patch) | |
tree | 5b75447084e6f50e41d2c8ff9fe82cf0c29a4063 /ruby.h | |
parent | 40f7a28c6495e29759ce350b2c9b9fd901231eb4 (diff) |
* ruby.h (RSTRUCT_LEN, RSTRUCT_PTR): defined for source level
compatibility with ruby 1.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r-- | ruby.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -401,6 +401,8 @@ struct RStruct { long len; VALUE *ptr; }; +#define RSTRUCT_LEN(st) (RSTRUCT(st)->len) +#define RSTRUCT_PTR(st) (RSTRUCT(st)->ptr) struct RBignum { struct RBasic basic; |