diff options
| author | Yuichiro MASUI <[email protected]> | 2012-05-06 20:04:33 +0900 |
|---|---|---|
| committer | Yuichiro MASUI <[email protected]> | 2012-05-06 20:04:33 +0900 |
| commit | 11b6366e48d3358bf85e488fc78573336251910f (patch) | |
| tree | 4fe6e224b7afdc5b3a25c5a3e9d44d96c002b44a /include | |
| parent | 4f9a7e90adf0bdd77e7971d5066834c68eac33b0 (diff) | |
| download | mruby-11b6366e48d3358bf85e488fc78573336251910f.tar.gz mruby-11b6366e48d3358bf85e488fc78573336251910f.zip | |
add const to char*
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby.h | 4 |
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); |
