Commit f99c3154 authored by dearblue's avatar dearblue

Remove `enum call_type`

It seems to be unnecessary from mruby-1.0.0 or earlier.
parent e2c62858
...@@ -1323,13 +1323,6 @@ MRB_INLINE void mrb_check_frozen(mrb_state *mrb, void *o) ...@@ -1323,13 +1323,6 @@ MRB_INLINE void mrb_check_frozen(mrb_state *mrb, void *o)
if (mrb_frozen_p((struct RBasic*)o)) mrb_frozen_error(mrb, o); if (mrb_frozen_p((struct RBasic*)o)) mrb_frozen_error(mrb, o);
} }
typedef enum call_type {
CALL_PUBLIC,
CALL_FCALL,
CALL_VCALL,
CALL_TYPE_MAX
} call_type;
MRB_API void mrb_define_alias(mrb_state *mrb, struct RClass *c, const char *a, const char *b); MRB_API void mrb_define_alias(mrb_state *mrb, struct RClass *c, const char *a, const char *b);
MRB_API const char *mrb_class_name(mrb_state *mrb, struct RClass* klass); MRB_API const char *mrb_class_name(mrb_state *mrb, struct RClass* klass);
MRB_API void mrb_define_global_const(mrb_state *mrb, const char *name, mrb_value val); MRB_API void mrb_define_global_const(mrb_state *mrb, const char *name, mrb_value val);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment