diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-09-25 09:15:08 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-09-25 09:15:08 +0000 |
commit | b9228a014ba4818cdf584e3dda63ed1aed3ad1c7 (patch) | |
tree | 02b5b0ea6c42aa4186fe5095141f8782076fea8e /ruby.h | |
parent | 40412b77305befcaffd0f3fcf85d6cd8f2d75f3d (diff) |
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r-- | ruby.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -136,7 +136,7 @@ VALUE rb_uint2inum _((unsigned long)); #define Qnil 4 #define Qundef 6 /* undefined value for placeholder */ -#define RTEST(v) ((VALUE)(v) & ~Qnil) +#define RTEST(v) (((VALUE)(v) & ~Qnil) != 0) #define NIL_P(v) ((VALUE)(v) == Qnil) #define CLASS_OF(v) rb_class_of((VALUE)(v)) |