summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-05-06 06:32:43 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2012-05-06 06:32:43 -0700
commitb666b7d112b0c558fcec14ec1d36ceae2efc0a9b (patch)
tree6af5dde92226760c69fbba1e9d44f6a7d5512fb9 /include
parent4edfe3bc379ffd42ea56108582316a98bf142101 (diff)
parent11b6366e48d3358bf85e488fc78573336251910f (diff)
downloadmruby-b666b7d112b0c558fcec14ec1d36ceae2efc0a9b.tar.gz
mruby-b666b7d112b0c558fcec14ec1d36ceae2efc0a9b.zip
Merge pull request #102 from MobiRuby/add_const
add const to char*
Diffstat (limited to 'include')
-rw-r--r--include/mruby.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mruby.h b/include/mruby.h
index 6ed8e4878..ab9f5ee92 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -300,8 +300,8 @@ mrb_value mrb_instance_new(mrb_state *mrb, mrb_value cv);
struct RClass * mrb_class_new(mrb_state *mrb, struct RClass *super);
struct RClass * mrb_module_new(mrb_state *mrb);
struct RClass * mrb_class_from_sym(mrb_state *mrb, struct RClass *klass, mrb_sym name);
-struct RClass * mrb_class_get(mrb_state *mrb, char *name);
-struct RClass * mrb_class_obj_get(mrb_state *mrb, char *name);
+struct RClass * mrb_class_get(mrb_state *mrb, const char *name);
+struct RClass * mrb_class_obj_get(mrb_state *mrb, const char *name);
mrb_value mrb_obj_dup(mrb_state *mrb, mrb_value obj);
mrb_value mrb_check_to_integer(mrb_state *mrb, mrb_value val, const char *method);