From 395f9f5ebfa4ecfa75cc272c9538cce151145d70 Mon Sep 17 00:00:00 2001 From: ocean Date: Thu, 20 Oct 2005 02:56:22 +0000 Subject: * class.c, eval.c, hash.c, st.c, variable.c: changed /* ??? */ stuff protoize generated to ANYARGS. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- variable.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'variable.c') diff --git a/variable.c b/variable.c index afa05e3ff..565a1f2b1 100644 --- a/variable.c +++ b/variable.c @@ -446,8 +446,8 @@ void rb_define_hooked_variable( const char *name, VALUE *var, - VALUE (*getter) (/* ??? */), - void (*setter) (/* ??? */)) + VALUE (*getter)(ANYARGS), + void (*setter)(ANYARGS)) { struct global_variable *gvar; ID id = global_id(name); @@ -474,8 +474,8 @@ rb_define_readonly_variable(const char *name, VALUE *var) void rb_define_virtual_variable( const char *name, - VALUE (*getter) (/* ??? */), - void (*setter) (/* ??? */)) + VALUE (*getter)(ANYARGS), + void (*setter)(ANYARGS)) { if (!getter) getter = val_getter; if (!setter) setter = readonly_setter; -- cgit