diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-07-13 21:54:44 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-07-13 21:54:44 -0700 |
| commit | afb983e26f03d55ab48c8e47cec58d757df6eeda (patch) | |
| tree | 7d72ace2607d84a078aee483a76e1f6035c00ad3 /include | |
| parent | 89a67f4e4eb179f4173da0fd26e25df33d8a164b (diff) | |
| parent | 7bbac9cfdf3a1b8e8c5697c060b5cb812a1f6949 (diff) | |
| download | mruby-afb983e26f03d55ab48c8e47cec58d757df6eeda.tar.gz mruby-afb983e26f03d55ab48c8e47cec58d757df6eeda.zip | |
Merge pull request #367 from junjis0203/rename_load_string_argument_name
Rename confusable argument name
Diffstat (limited to 'include')
| -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" { */ |
