ruby-changes:10342
From: yugui <ko1@a...>
Date: Fri, 30 Jan 2009 10:46:39 +0900 (JST)
Subject: [ruby-changes:10342] Ruby:r21886 (ruby_1_9_1): merges r21686 from trunk into ruby_1_9_1.
yugui 2009-01-30 10:46:22 +0900 (Fri, 30 Jan 2009) New Revision: 21886 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21886 Log: merges r21686 from trunk into ruby_1_9_1. * cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed with ruby_ to export. * ext/continuation/continuation.c, ext/fiber/fiber.c: ditto. Modified files: branches/ruby_1_9_1/ChangeLog branches/ruby_1_9_1/cont.c branches/ruby_1_9_1/ext/continuation/continuation.c branches/ruby_1_9_1/ext/fiber/fiber.c Index: ruby_1_9_1/ChangeLog =================================================================== --- ruby_1_9_1/ChangeLog (revision 21885) +++ ruby_1_9_1/ChangeLog (revision 21886) @@ -1,3 +1,10 @@ +Tue Jan 20 16:17:12 2009 Nobuyoshi Nakada <nobu@r...> + + * cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed + with ruby_ to export. + + * ext/continuation/continuation.c, ext/fiber/fiber.c: ditto. + Thu Jan 29 16:22:41 2009 Shugo Maeda <shugo@r...> * load.c (rb_feature_provided): should not calculate len by pointer Index: ruby_1_9_1/ext/fiber/fiber.c =================================================================== --- ruby_1_9_1/ext/fiber/fiber.c (revision 21885) +++ ruby_1_9_1/ext/fiber/fiber.c (revision 21886) @@ -1,8 +1,8 @@ -void Init_Fiber_as_Coroutine(void); +void ruby_Init_Fiber_as_Coroutine(void); void Init_fiber(void) { - Init_Fiber_as_Coroutine(); + ruby_Init_Fiber_as_Coroutine(); } Index: ruby_1_9_1/ext/continuation/continuation.c =================================================================== --- ruby_1_9_1/ext/continuation/continuation.c (revision 21885) +++ ruby_1_9_1/ext/continuation/continuation.c (revision 21886) @@ -1,8 +1,8 @@ -void Init_Continuation_body(void); +void ruby_Init_Continuation_body(void); void Init_continuation(void) { - Init_Continuation_body(); + ruby_Init_Continuation_body(); } Index: ruby_1_9_1/cont.c =================================================================== --- ruby_1_9_1/cont.c (revision 21885) +++ ruby_1_9_1/cont.c (revision 21886) @@ -1003,7 +1003,7 @@ } void -Init_Continuation_body(void) +ruby_Init_Continuation_body(void) { rb_cContinuation = rb_define_class("Continuation", rb_cObject); rb_undef_alloc_func(rb_cContinuation); @@ -1014,7 +1014,7 @@ } void -Init_Fiber_as_Coroutine(void) +ruby_Init_Fiber_as_Coroutine(void) { rb_define_method(rb_cFiber, "transfer", rb_fiber_m_transfer, -1); rb_define_method(rb_cFiber, "alive?", rb_fiber_alive_p, 0); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/