summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-08-15 01:49:37 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-08-15 01:49:37 +0900
commit65e802f769eb324da62541b299e93e87a3b4dbce (patch)
treedc7bded9e07b42431c07496a745e935209cd53ca
parentd780c6683e1f418e109e1fcc9b1df380ad7ee8c7 (diff)
downloadmruby-65e802f769eb324da62541b299e93e87a3b4dbce.tar.gz
mruby-65e802f769eb324da62541b299e93e87a3b4dbce.zip
remove Class#alloc method
-rw-r--r--src/class.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/class.c b/src/class.c
index b5c561d06..5b6ae6a12 100644
--- a/src/class.c
+++ b/src/class.c
@@ -1886,7 +1886,6 @@ mrb_init_class(mrb_state *mrb)
mrb_define_method(mrb, bob, "method_missing", mrb_bob_missing, MRB_ARGS_ANY()); /* 15.3.1.3.30 */
mrb_define_class_method(mrb, cls, "new", mrb_class_new_class, MRB_ARGS_ANY());
- mrb_define_method(mrb, cls, "alloc", mrb_instance_alloc, MRB_ARGS_NONE());
mrb_define_method(mrb, cls, "superclass", mrb_class_superclass, MRB_ARGS_NONE()); /* 15.2.3.3.4 */
mrb_define_method(mrb, cls, "new", mrb_instance_new, MRB_ARGS_ANY()); /* 15.2.3.3.3 */
mrb_define_method(mrb, cls, "inherited", mrb_bob_init, MRB_ARGS_REQ(1));