mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
prototype refactoring on mrb_load_irep(); close #647
This commit is contained in:
@@ -18,7 +18,7 @@ extern "C" {
|
||||
int mrb_dump_irep(mrb_state*,int,FILE*);
|
||||
int mrb_read_irep(mrb_state*,const char*);
|
||||
int mrb_read_irep_file(mrb_state*,FILE*);
|
||||
mrb_value mrb_load_irep(mrb_state*,const char*);
|
||||
/* mrb_value mrb_load_irep(mrb_state*,const char*); */ /* declared in <irep.h> */
|
||||
mrb_value mrb_load_irep_file(mrb_state*,FILE*);
|
||||
|
||||
int mrb_bdump_irep(mrb_state *mrb, int n, FILE *f,const char *initname);
|
||||
|
||||
@@ -31,11 +31,10 @@ typedef struct mrb_irep {
|
||||
#define MRB_ISEQ_NO_FREE 1
|
||||
|
||||
mrb_irep *mrb_add_irep(mrb_state *mrb);
|
||||
mrb_value mrb_load_irep(mrb_state*,const char*);
|
||||
|
||||
#if defined(__cplusplus)
|
||||
} /* extern "C" { */
|
||||
#endif
|
||||
|
||||
mrb_value mrb_load_irep(mrb_state*,const char*);
|
||||
|
||||
#endif /* MRUBY_IREP_H */
|
||||
|
||||
Reference in New Issue
Block a user