diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-06 18:35:29 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-06 18:35:29 +0000 |
commit | 8c3aeabdd939b2274d2b63e52ef80e2a5306f5d1 (patch) | |
tree | 2b34ff1abb6ac11842e44056fff845a1e3938d66 /include/ruby | |
parent | 6917c85afe95feefc63538a4cc8573a5e753da4b (diff) | |
download | ruby-8c3aeabdd939b2274d2b63e52ef80e2a5306f5d1.tar.gz |
* include/ruby/ruby.h (RSTRUCT_PTR): need a close parenthese.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/ruby.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index f778298d62..e7f2f0d990 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -1228,7 +1228,7 @@ struct RStruct { #define RSTRUCT_LEN(st) rb_struct_len(st) #define RSTRUCT_LENINT(st) rb_long2int(RSTRUCT_LEN(st)) #define RSTRUCT_CONST_PTR(st) rb_struct_const_ptr(st) -#define RSTRUCT_PTR(st) ((VALUE *)RSTRUCT_CONST_PTR(RB_OBJ_WB_UNPROTECT_FOR(STRUCT, st)) +#define RSTRUCT_PTR(st) ((VALUE *)RSTRUCT_CONST_PTR(RB_OBJ_WB_UNPROTECT_FOR(STRUCT, st))) #define RSTRUCT_SET(st, idx, v) RB_OBJ_WRITE(st, &RSTRUCT_CONST_PTR(st)[idx], (v)) #define RSTRUCT_GET(st, idx) (RSTRUCT_CONST_PTR(st)[idx]) |