diff options
| author | Junji Sawada <[email protected]> | 2012-07-14 12:13:48 +0900 |
|---|---|---|
| committer | Junji Sawada <[email protected]> | 2012-07-14 12:15:15 +0900 |
| commit | 7bbac9cfdf3a1b8e8c5697c060b5cb812a1f6949 (patch) | |
| tree | ab2d56c334bbcc647a7ad78c2b2776651063f0d0 | |
| parent | 08f7fab377dab2ed4d9e6d7f4a304f2ce804d12c (diff) | |
| download | mruby-7bbac9cfdf3a1b8e8c5697c060b5cb812a1f6949.tar.gz mruby-7bbac9cfdf3a1b8e8c5697c060b5cb812a1f6949.zip | |
Rename confusable argument name
| -rw-r--r-- | include/mruby/compile.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mruby/compile.h b/include/mruby/compile.h index 4dd369adb..aae1b06b1 100644 --- a/include/mruby/compile.h +++ b/include/mruby/compile.h @@ -111,11 +111,11 @@ int mrb_generate_code(mrb_state*, mrb_ast_node*); /* program load functions */ mrb_value mrb_load_file(mrb_state*,FILE*); -mrb_value mrb_load_string(mrb_state *mrb, const char *path); -mrb_value mrb_load_nstring(mrb_state *mrb, const char *path, int len); +mrb_value mrb_load_string(mrb_state *mrb, const char *s); +mrb_value mrb_load_nstring(mrb_state *mrb, const char *s, int len); mrb_value mrb_load_file_cxt(mrb_state*,FILE*, mrbc_context *cxt); -mrb_value mrb_load_string_cxt(mrb_state *mrb, const char *path, mrbc_context *cxt); -mrb_value mrb_load_nstring_cxt(mrb_state *mrb, const char *path, int len, mrbc_context *cxt); +mrb_value mrb_load_string_cxt(mrb_state *mrb, const char *s, mrbc_context *cxt); +mrb_value mrb_load_nstring_cxt(mrb_state *mrb, const char *s, int len, mrbc_context *cxt); #if defined(__cplusplus) } /* extern "C" { */ |
