diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-04-27 10:04:11 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-04-27 10:04:11 +0000 |
commit | 9e48333190cb95ecd4d8a49eed103518457e8ace (patch) | |
tree | 0a28d6aa4707629c5d106e979c316c5b65b72e60 /ruby.h | |
parent | 043c693d6a7521604ced80a0619d38b4f187f1c9 (diff) |
tcltklib/gtk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r-- | ruby.h | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -75,7 +75,7 @@ typedef unsigned short USHORT; # ifdef HAVE_LIMITS_H # include <limits.h> # else - /* assuming 32bit(2's compliment) LONG */ + /* assuming 32bit(2's compliment) long */ # define LONG_MAX 2147483647 # endif # endif @@ -176,8 +176,8 @@ INT num2int _((VALUE)); double num2dbl _((VALUE)); #define NUM2DBL(x) num2dbl((VALUE)(x)) -char *str2cstr _((VALUE)); -#define STR2CSTR(x) str2cstr((VALUE)(x)) +char *str2cstr _((VALUE,int*)); +#define STR2CSTR(x) str2cstr((VALUE)(x),0) #define NUM2CHR(x) (((TYPE(x) == T_STRING)&&(RSTRING(x)->len>=1))?\ RSTRING(x)->ptr[0]:(char)NUM2INT(x)) @@ -423,7 +423,6 @@ volatile voidfn Raise; volatile voidfn Fail; volatile voidfn Fatal; volatile voidfn Bug; -volatile voidfn WrongType; volatile voidfn rb_sys_fail; volatile voidfn rb_iter_break; volatile voidfn rb_exit; @@ -435,7 +434,6 @@ void Raise(); void Fail(); void Fatal(); void Bug(); -void WrongType(); void rb_sys_fail _((char *)); void rb_iter_break _((void)); void rb_exit _((int)); |