From: ts Date: 2002-08-14T22:03:40+09:00 Subject: Re: Is There an Inverse of 'rb_define_method'? >>>>> "W" == William Djaja Tjokroaminata writes: W> ------------------------------------- >> And a user can redefine methods, then the methods don't have >> corresponding C functions. W> ------------------------------------- W> This may be a little bit tricky, because then it means I have to obtain W> the function pointer only after the parsing (of all user scripts) is W> completely done. It was previously explained, it *don't* exist a function pointer for user defs. ruby just has nodes which are processed by rb_eval() pigeon% ruby -rii -e 'def a(b,c) puts b, c; end; dump Object, :a' Method Object::a SCOPE BLOCK ARGS(b, c) NEWLINE <-e:1> FCALL puts ARRAY LVAR b LVAR c pigeon% Guy Decoux