From 7bbac9cfdf3a1b8e8c5697c060b5cb812a1f6949 Mon Sep 17 00:00:00 2001 From: Junji Sawada Date: Sat, 14 Jul 2012 12:13:48 +0900 Subject: Rename confusable argument name --- include/mruby/compile.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') 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" { */ -- cgit v1.2.3