summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-10-06 03:28:28 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-10-06 03:28:28 +0000
commit75ff8fdb16fa0a733512e61350c9844ea530ad35 (patch)
treea057e60543c77d6e20ea2e91928928df80b2b6d3 /ruby.h
parent5d71c8d89c6bd7af934e7a8de5882cda2991711b (diff)
join 1.1c6
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1dev@310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/ruby.h b/ruby.h
index 083552b..15d0e1c 100644
--- a/ruby.h
+++ b/ruby.h
@@ -380,9 +380,8 @@ void rb_define_const _((VALUE,char*,VALUE));
void rb_define_global_const _((char*,VALUE));
void rb_define_method _((VALUE,char*,VALUE(*)(),int));
-void rb_define_function _((VALUE,char*,VALUE(*)(),int));
void rb_define_module_function _((VALUE,char*,VALUE(*)(),int));
-void rb_define_global_function _((char *, VALUE (*)(), int));
+void rb_define_global_function _((char*,VALUE(*)(),int));
void rb_undef_method _((VALUE,char*));
void rb_define_alias _((VALUE,char*,char*));
@@ -524,13 +523,7 @@ rb_special_const_p(VALUE obj)
extern __inline__ int
rb_test_false_or_nil(VALUE v)
{
-#ifdef MACRUBY_PUBLIC_INTERFACE
- return (v != Qnil) && (v != RubyFALSE);
- return (v != Qnil) && (v != RubyFALSE);
-#else
- return (v != Qnil) && (v != Qfalse);
return (v != Qnil) && (v != Qfalse);
-#endif
}
#else
VALUE rb_class_of _((VALUE));