prototype refactoring on mrb_load_irep(); close #647

This commit is contained in:
Yukihiro Matz Matsumoto
2012-12-19 20:44:30 +09:00
parent 55870e4b82
commit c02c264be2
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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);
+1 -2
View File
@@ -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 */