summaryrefslogtreecommitdiff
path: root/class.c
diff options
context:
space:
mode:
Diffstat (limited to 'class.c')
-rw-r--r--class.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/class.c b/class.c
index 5320a4cf00..11c463e1e3 100644
--- a/class.c
+++ b/class.c
@@ -1253,12 +1253,6 @@ rb_define_method(VALUE klass, const char *name, VALUE (*func)(ANYARGS), int argc
}
void
-rb_define_frameless_method(VALUE klass, const char *name, VALUE (*func)(ANYARGS), int argc)
-{
- rb_add_method_cfunc_frameless(klass, rb_intern(name), func, argc, NOEX_PUBLIC);
-}
-
-void
rb_define_protected_method(VALUE klass, const char *name, VALUE (*func)(ANYARGS), int argc)
{
rb_add_method_cfunc(klass, rb_intern(name), func, argc, NOEX_PROTECTED);