Skip to content

Commit

Permalink
goruby.c: call Init_golf [ci skip]
Browse files Browse the repository at this point in the history
* goruby.c (init_golf): call Init_golf, because ruby_init_ext only
  registers the function since r43514.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Aug 23, 2016
1 parent d3e7e3c commit 92a0954
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion goruby.c
Expand Up @@ -20,7 +20,8 @@ RUBY_EXTERN void ruby_init_ext(const char *name, void (*init)(void));
static VALUE
init_golf(VALUE arg)
{
ruby_init_ext("golf.so", Init_golf);
Init_golf();
rb_provide("golf.so");
return arg;
}

Expand Down

0 comments on commit 92a0954

Please sign in to comment.