From 9dc3a7d7a5aece71c2bad9d2ec185f2ef87245b6 Mon Sep 17 00:00:00 2001 From: ko1 Date: Thu, 25 Oct 2012 06:03:53 +0000 Subject: * include/ruby/ruby.h, class.c: remove (revert) `rb_add_method_cfunc_frameless()' API. This API is not mature to become an offical API. For example, we can not use this API with `rb_define_private_method()'. * method.h, vm_method.c (rb_add_method_cfunc_frameless): removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- method.h | 1 - 1 file changed, 1 deletion(-) (limited to 'method.h') diff --git a/method.h b/method.h index 7f08ea261c..5d1afa6d41 100644 --- a/method.h +++ b/method.h @@ -92,7 +92,6 @@ struct unlinked_method_entry_list_entry { #define UNDEFINED_METHOD_ENTRY_P(me) (!(me) || !(me)->def || (me)->def->type == VM_METHOD_TYPE_UNDEF) void rb_add_method_cfunc(VALUE klass, ID mid, VALUE (*func)(ANYARGS), int argc, rb_method_flag_t noex); -void rb_add_method_cfunc_frameless(VALUE klass, ID mid, VALUE (*func)(ANYARGS), int argc, rb_method_flag_t noex); rb_method_entry_t *rb_add_method(VALUE klass, ID mid, rb_method_type_t type, void *option, rb_method_flag_t noex); rb_method_entry_t *rb_method_entry(VALUE klass, ID id, VALUE *define_class_ptr); -- cgit v1.2.1