diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-20 02:56:22 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-20 02:56:22 +0000 |
commit | e29bce0750285f53efc74932487b972aeb461738 (patch) | |
tree | 9d8ab881107e020f52199577ee3d6a80306078a1 /variable.c | |
parent | 64c8c730d752e90591b44384ef4663fa06db4213 (diff) | |
download | ruby-e29bce0750285f53efc74932487b972aeb461738.tar.gz |
* class.c, eval.c, hash.c, st.c, variable.c: changed /* ??? */ stuff
protoize generated to ANYARGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/variable.c b/variable.c index afa05e3ff8..565a1f2b17 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; |