summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-07-26 04:33:04 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2012-07-26 04:33:04 -0700
commitaed200686f626951d919d17e37b6dc135b015c2d (patch)
tree956b6d9fd49c12f31f955a0deb161bab69feb7c6 /include
parentec309c6fd7a8e177be4d1c5cd3cebfcf2088a52d (diff)
parentea259129993cf7eb6ffc0b8bb76719913fea314c (diff)
downloadmruby-aed200686f626951d919d17e37b6dc135b015c2d.tar.gz
mruby-aed200686f626951d919d17e37b6dc135b015c2d.zip
Merge pull request #394 from silverhammermba/master
Undefine class method new rather than instance method.
Diffstat (limited to 'include')
-rw-r--r--include/mruby.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby.h b/include/mruby.h
index 4fd7bccd5..6fcda4d35 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -296,6 +296,7 @@ void mrb_define_singleton_method(mrb_state*, struct RObject*, const char*, mrb_f
void mrb_define_module_function(mrb_state*, struct RClass*, const char*, mrb_func_t,int);
void mrb_define_const(mrb_state*, struct RClass*, const char *name, mrb_value);
void mrb_undef_method(mrb_state*, struct RClass*, const char*);
+void mrb_undef_class_method(mrb_state*, struct RClass*, const char*);
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);