mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
goruby.c: include golf_prelude.c to get rid of overwriting EXTOBJS
This commit is contained in:
parent
2d3572a154
commit
ac6924e10e
2 changed files with 31 additions and 186 deletions
6
goruby.c
6
goruby.c
|
@ -1,4 +1,6 @@
|
|||
void Init_golf(void);
|
||||
static void Init_golf(void);
|
||||
static void *goruby_options(int argc, char **argv);
|
||||
static int goruby_run_node(void *arg);
|
||||
#define ruby_options goruby_options
|
||||
#define ruby_run_node goruby_run_node
|
||||
#include "main.c"
|
||||
|
@ -17,6 +19,8 @@ RUBY_EXTERN void *ruby_options(int argc, char **argv);
|
|||
RUBY_EXTERN int ruby_run_node(void*);
|
||||
RUBY_EXTERN void ruby_init_ext(const char *name, void (*init)(void));
|
||||
|
||||
#include "golf_prelude.c"
|
||||
|
||||
static VALUE
|
||||
init_golf(VALUE arg)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue