ruby-changes:24412
From: nobu <ko1@a...>
Date: Thu, 19 Jul 2012 14:30:55 +0900 (JST)
Subject: [ruby-changes:24412] nobu:r36463 (trunk): internal.h: move mark functions
nobu 2012-07-19 14:30:46 +0900 (Thu, 19 Jul 2012) New Revision: 36463 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36463 Log: internal.h: move mark functions * internal.h: move mark function declarations that should be private. Modified files: trunk/ChangeLog trunk/include/ruby/intern.h trunk/internal.h Index: include/ruby/intern.h =================================================================== --- include/ruby/intern.h (revision 36462) +++ include/ruby/intern.h (revision 36463) @@ -385,7 +385,6 @@ int rb_obj_method_arity(VALUE, ID); VALUE rb_protect(VALUE (*)(VALUE), VALUE, int*); void rb_set_end_proc(void (*)(VALUE), VALUE); -void rb_mark_end_proc(void); void rb_exec_end_proc(void); void rb_thread_schedule(void); void rb_thread_wait_fd(int); @@ -562,7 +561,6 @@ RUBY_EXTERN int ruby_sourceline; RUBY_EXTERN char *ruby_sourcefile; ID rb_id_attrset(ID); -void rb_gc_mark_parser(void); int rb_is_const_id(ID); int rb_is_global_id(ID); int rb_is_instance_id(ID); @@ -572,7 +570,6 @@ int rb_is_junk_id(ID); int rb_symname_p(const char*); int rb_sym_interned_p(VALUE); -void rb_gc_mark_symbols(void); VALUE rb_backref_get(void); void rb_backref_set(VALUE); VALUE rb_lastline_get(void); @@ -641,7 +638,6 @@ void *rb_load_file(const char*); /* signal.c */ VALUE rb_f_kill(int, VALUE*); -void rb_gc_mark_trap_list(void); #ifdef POSIX_SIGNAL #define posix_signal ruby_posix_signal RETSIGTYPE (*posix_signal(int, RETSIGTYPE (*)(int)))(int); @@ -853,15 +849,12 @@ void rb_autoload(VALUE, ID, const char*); VALUE rb_autoload_load(VALUE, ID); VALUE rb_autoload_p(VALUE, ID); -void rb_gc_mark_global_tbl(void); VALUE rb_f_trace_var(int, VALUE*); VALUE rb_f_untrace_var(int, VALUE*); VALUE rb_f_global_variables(void); void rb_alias_variable(ID, ID); struct st_table* rb_generic_ivar_table(VALUE); void rb_copy_generic_ivar(VALUE,VALUE); -void rb_mark_generic_ivar(VALUE); -void rb_mark_generic_ivar_tbl(void); void rb_free_generic_ivar(VALUE); VALUE rb_ivar_get(VALUE, ID); VALUE rb_ivar_set(VALUE, ID, VALUE); Index: ChangeLog =================================================================== --- ChangeLog (revision 36462) +++ ChangeLog (revision 36463) @@ -1,3 +1,7 @@ +Thu Jul 19 14:30:43 2012 Nobuyoshi Nakada <nobu@r...> + + * internal.h: move mark function declarations that should be private. + Thu Jul 19 14:18:22 2012 NAKAMURA Usaku <usa@r...> * ext/socket/init.c (rsock_init_sock): need to update max fd on all Index: internal.h =================================================================== --- internal.h (revision 36462) +++ internal.h (revision 36463) @@ -95,6 +95,7 @@ /* eval_jump.c */ void rb_call_end_proc(VALUE data); +void rb_mark_end_proc(void); /* file.c */ VALUE rb_home_dir(const char *user, VALUE result); @@ -156,6 +157,8 @@ int rb_is_local_name(VALUE name); int rb_is_method_name(VALUE name); int rb_is_junk_name(VALUE name); +void rb_gc_mark_parser(void); +void rb_gc_mark_symbols(void); /* proc.c */ VALUE rb_proc_location(VALUE self); @@ -311,6 +314,11 @@ VALUE rb_execarg_extract_options(VALUE execarg_obj, VALUE opthash); void rb_execarg_setenv(VALUE execarg_obj, VALUE env); +/* variable.c */ +void rb_gc_mark_global_tbl(void); +void rb_mark_generic_ivar(VALUE); +void rb_mark_generic_ivar_tbl(void); + #if defined __GNUC__ && __GNUC__ >= 4 #pragma GCC visibility pop #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/