mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
* eval.c (rb_method_node): new API to retrieve method body.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
83e19791ef
commit
ba2147ba40
5 changed files with 27 additions and 2 deletions
2
node.h
2
node.h
|
@ -352,6 +352,8 @@ NODE *rb_compile_file _((const char*, VALUE, int));
|
|||
void rb_add_method _((VALUE, ID, NODE *, int));
|
||||
NODE *rb_node_newnode _((enum node_type,VALUE,VALUE,VALUE));
|
||||
|
||||
NODE* rb_method_node _((VALUE klass, ID id));
|
||||
|
||||
struct global_entry *rb_global_entry _((ID));
|
||||
VALUE rb_gvar_get _((struct global_entry *));
|
||||
VALUE rb_gvar_set _((struct global_entry *, VALUE));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue