summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-05-14 04:10:39 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-05-14 04:10:39 +0000
commitc25084921670dfe33a0871ee7b94c102fea0ea3a (patch)
treef0df3bfdc54529ba5c345f5536f7164acf7746d4 /win32
parentae2fe781dd4aae16a2f03a4b9fb93514eb9886d4 (diff)
prototypes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/config.h6
-rw-r--r--win32/ruby.def10
2 files changed, 14 insertions, 2 deletions
diff --git a/win32/config.h b/win32/config.h
index cf5cb332bf..c0bbd4212c 100644
--- a/win32/config.h
+++ b/win32/config.h
@@ -1,4 +1,10 @@
#define THREAD 1
+#define SIZEOF_INT 4
+#define SIZEOF_LONG 4
+#define SIZEOF_VOIDP 4
+#define HAVE_PROTOTYPES 1
+#define HAVE_STDARG_PROTOTYPES 1
+#define HAVE_ATTR_NORETURN 1
/* #define HAVE_DIRENT_H 1 */
/* #define HAVE_UNISTD_H 1 */
#define HAVE_STDLIB_H 1
diff --git a/win32/ruby.def b/win32/ruby.def
index 1d04c3fabc..55e212fcae 100644
--- a/win32/ruby.def
+++ b/win32/ruby.def
@@ -126,6 +126,7 @@ EXPORTS
rb_define_method
rb_undef_method
rb_define_private_method
+ rb_define_protected_method
rb_singleton_class
rb_define_singleton_method
rb_define_module_function
@@ -143,6 +144,7 @@ EXPORTS
; error.c
Error
Error_Append
+ Warn
Warning
Bug
rb_check_type
@@ -161,8 +163,11 @@ EXPORTS
rb_sys_fail
;eval.c
rb_clear_cache
- rb_add_method
rb_alias
+ rb_add_method
+ rb_remove_method
+ rb_disable_super
+ rb_enable_super
rb_method_boundp
dyna_var_defined
dyna_var_ref
@@ -261,7 +266,8 @@ EXPORTS
num_coerce_bin
float_new
flo_pow
- num2int
+ num2long
+ num2ulong
num2fix
fix2str
fix_to_s