From d8da6ee60e0a2fd6cd4d4fee0caccda333b8aaf9 Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 5 Jun 2001 07:19:39 +0000 Subject: * variable.c (rb_mod_const_at): use hash table as internal data. [new] * variable.c (rb_mod_const_of): ditto. * variable.c (rb_const_list): new function to convert internal data (hash table) to array of strings. * eval.c (rb_mod_s_constants): data handling scheme has changed. * eval.c (rb_add_method): should not call rb_secure(), for last_func may not be set. * io.c (rb_io_ctl): ioctl should accept any integer within C long range. * marshal.c (r_object): wrong type check for modules. * marshal.c (w_object): should not dump anonymous classes/modules. * io.c (rb_open_file): use rb_file_sysopen_internal() if the 3rd argument (permission flags) is given. [new, should be backported?] * io.c (rb_io_mode_binmode): mode string (e.g. "r+") to flags to open(2). * eval.c (rb_eval): NODE_REXPAND expand an array of 1 element as the element itself. [new, should be backported?] * parse.y (ret_args): should treat "*[a]" in rhs expression as "a", not "[a]". * regex.c (re_compile_pattern): should push option modifier at the right place. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- intern.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'intern.h') diff --git a/intern.h b/intern.h index cf7df058b..866df5845 100644 --- a/intern.h +++ b/intern.h @@ -367,9 +367,10 @@ VALUE rb_ivar_set _((VALUE, ID, VALUE)); VALUE rb_ivar_defined _((VALUE, ID)); VALUE rb_obj_instance_variables _((VALUE)); VALUE rb_obj_remove_instance_variable _((VALUE, VALUE)); -VALUE rb_mod_const_at _((VALUE, VALUE)); +void *rb_mod_const_at _((VALUE, void*)); +void *rb_mod_const_of _((VALUE, void*)); +VALUE rb_const_list _((void*)); VALUE rb_mod_constants _((VALUE)); -VALUE rb_mod_const_of _((VALUE, VALUE)); VALUE rb_mod_remove_const _((VALUE, VALUE)); int rb_const_defined_at _((VALUE, ID)); int rb_autoload_defined _((ID)); -- cgit