summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-20 07:17:28 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-20 07:17:28 +0000
commit11c00acf8e52db4b58b373fc4a4e140960aa584b (patch)
tree15f7f029a2e264caa7136b97a667079c923f6bcf
parent2d03f7274f84ab5abf8825c8e0c339caa659c27a (diff)
* 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
-rw-r--r--ChangeLog13
-rw-r--r--cont.c4
-rw-r--r--ext/continuation/continuation.c4
-rw-r--r--ext/fiber/fiber.c4
4 files changed, 16 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index a915a0eb0d5..7fca33a6770 100644
--- a/ChangeLog
+++ b/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>
diff --git a/cont.c b/cont.c
index 427f81983f6..a3c8a3241f8 100644
--- a/cont.c
+++ b/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);
diff --git a/ext/continuation/continuation.c b/ext/continuation/continuation.c
index a1b43b50472..ae69b66cd86 100644
--- a/ext/continuation/continuation.c
+++ b/ext/continuation/continuation.c
@@ -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();
}
diff --git a/ext/fiber/fiber.c b/ext/fiber/fiber.c
index 7c33a1f2314..12fcaad73b8 100644
--- a/ext/fiber/fiber.c
+++ b/ext/fiber/fiber.c
@@ -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();
}