Permalink
Browse files

prototype refactoring on mrb_load_irep(); close #647

  • Loading branch information...
1 parent 55870e4 commit c02c264be2b1bc685f3c958f863d2a1c599f9ec8 @matz matz committed Dec 19, 2012
Showing with 2 additions and 3 deletions.
  1. +1 −1 include/mruby/dump.h
  2. +1 −2 include/mruby/irep.h
View
@@ -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);
View
@@ -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 */

0 comments on commit c02c264

Please sign in to comment.