[前][次][番号順一覧][スレッド一覧]

ruby-changes:43920

From: nobu <ko1@a...>
Date: Tue, 23 Aug 2016 17:00:14 +0900 (JST)
Subject: [ruby-changes:43920] nobu:r55993 (trunk): goruby.c: call Init_golf [ci skip]

nobu	2016-08-23 17:00:09 +0900 (Tue, 23 Aug 2016)

  New Revision: 55993

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55993

  Log:
    goruby.c: call Init_golf [ci skip]
    
    * goruby.c (init_golf): call Init_golf, because ruby_init_ext only
      registers the function since r43514.

  Modified files:
    trunk/goruby.c
Index: goruby.c
===================================================================
--- goruby.c	(revision 55992)
+++ goruby.c	(revision 55993)
@@ -20,7 +20,8 @@ RUBY_EXTERN void ruby_init_ext(const cha https://github.com/ruby/ruby/blob/trunk/goruby.c#L20
 static VALUE
 init_golf(VALUE arg)
 {
-    ruby_init_ext("golf.so", Init_golf);
+    Init_golf();
+    rb_provide("golf.so");
     return arg;
 }
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]