зеркало из https://github.com/github/ruby.git
* cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed
with ruby_ to export. * ext/continuation/continuation.c, ext/fiber/fiber.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
2d03f7274f
Коммит
11c00acf8e
13
ChangeLog
13
ChangeLog
|
@ -1,3 +1,10 @@
|
|||
Tue Jan 20 16:17:12 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed
|
||||
with ruby_ to export.
|
||||
|
||||
* ext/continuation/continuation.c, ext/fiber/fiber.c: ditto.
|
||||
|
||||
Tue Jan 20 15:32:29 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* Makefile.in (miniruby): renames and then removes, to get rid of
|
||||
|
@ -7,11 +14,11 @@ Tue Jan 20 15:32:29 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|||
|
||||
* configure.in (DLDFLAGS): do not export all symbols.
|
||||
|
||||
* cygwin/GNUmakefile.in (RUBYDEF): rejects symbols prefixex with
|
||||
* cygwin/GNUmakefile.in (RUBYDEF): rejects symbols prefixed with
|
||||
Init_.
|
||||
|
||||
* win32/mkexports.rb (Exports::Mingw): includes all symbols except for
|
||||
prefixed with Init_ as well as mswin32.
|
||||
* win32/mkexports.rb (Exports::Mingw): includes all symbols as
|
||||
well as mswin32, except for prefixed with Init_.
|
||||
|
||||
Tue Jan 20 13:03:50 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
|
|
4
cont.c
4
cont.c
|
@ -1021,7 +1021,7 @@ Init_Cont(void)
|
|||
}
|
||||
|
||||
void
|
||||
Init_Continuation_body(void)
|
||||
ruby_Init_Continuation_body(void)
|
||||
{
|
||||
rb_cContinuation = rb_define_class("Continuation", rb_cObject);
|
||||
rb_undef_alloc_func(rb_cContinuation);
|
||||
|
@ -1032,7 +1032,7 @@ Init_Continuation_body(void)
|
|||
}
|
||||
|
||||
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);
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче