ruby-changes:1894
From: ko1@a...
Date: 7 Sep 2007 15:46:03 +0900
Subject: [ruby-changes:1894] shyouhei - Ruby:r13385 (ruby_1_8_6): * ext/tk/tcltklib.c (Init_tcltklib): use rb_set_end_proc().
shyouhei 2007-09-07 15:45:52 +0900 (Fri, 07 Sep 2007) New Revision: 13385 Modified files: branches/ruby_1_8_6/ChangeLog branches/ruby_1_8_6/ext/tk/tcltklib.c branches/ruby_1_8_6/version.h Log: * ext/tk/tcltklib.c (Init_tcltklib): use rb_set_end_proc(). http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/ChangeLog?r1=13385&r2=13384 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/version.h?r1=13385&r2=13384 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/ext/tk/tcltklib.c?r1=13385&r2=13384 Index: ruby_1_8_6/ext/tk/tcltklib.c =================================================================== --- ruby_1_8_6/ext/tk/tcltklib.c (revision 13384) +++ ruby_1_8_6/ext/tk/tcltklib.c (revision 13385) @@ -4364,12 +4364,11 @@ /* finalize operation */ -static VALUE +static void lib_mark_at_exit(self) VALUE self; { at_exit = 1; - return Qnil; } static int @@ -7995,8 +7994,6 @@ /* --------------------------------------------------------------- */ - rb_define_module_function(lib, "_mark_at_exit", lib_mark_at_exit, 0); - rb_define_module_function(lib, "mainloop", lib_mainloop, -1); rb_define_module_function(lib, "mainloop_thread?", lib_evloop_thread_p, 0); @@ -8133,7 +8130,7 @@ /* --------------------------------------------------------------- */ - rb_eval_string("at_exit{ TclTkLib._mark_at_exit }"); + rb_set_end_proc(lib_mark_at_exit, 0); /* --------------------------------------------------------------- */ Index: ruby_1_8_6/ChangeLog =================================================================== --- ruby_1_8_6/ChangeLog (revision 13384) +++ ruby_1_8_6/ChangeLog (revision 13385) @@ -1,3 +1,7 @@ +Fri Sep 7 15:43:43 2007 Nobuyoshi Nakada <nobu@r...> + + * ext/tk/tcltklib.c (Init_tcltklib): use rb_set_end_proc(). + Fri Sep 7 15:42:07 2007 Nobuyoshi Nakada <nobu@r...> * process.c (detach_process_watcher): should not pass the pointer Index: ruby_1_8_6/version.h =================================================================== --- ruby_1_8_6/version.h (revision 13384) +++ ruby_1_8_6/version.h (revision 13385) @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2007-09-07" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20070907 -#define RUBY_PATCHLEVEL 92 +#define RUBY_PATCHLEVEL 93 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml