Permalink
Browse files

* 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
  • Loading branch information...
1 parent 2d03f72 commit 11c00acf8e52db4b58b373fc4a4e140960aa584b @nobu nobu committed Jan 20, 2009
Showing with 16 additions and 9 deletions.
  1. +10 −3 ChangeLog
  2. +2 −2 cont.c
  3. +2 −2 ext/continuation/continuation.c
  4. +2 −2 ext/fiber/fiber.c
View
@@ -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>
View
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();
}
View
@@ -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();
}

0 comments on commit 11c00ac

Please sign in to comment.