diff options
| author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-25 08:49:09 +0000 |
|---|---|---|
| committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-25 08:49:09 +0000 |
| commit | bc02b02778ca73eb64e803216e19650cd224798f (patch) | |
| tree | 462a725e4c65ec10f5b9ad4f9b21327d346f8ce5 /include/ruby | |
| parent | 57b5d25421da191f2a937ca291acfd707a374184 (diff) | |
| download | ruby-bc02b02778ca73eb64e803216e19650cd224798f.tar.gz ruby-bc02b02778ca73eb64e803216e19650cd224798f.tar.xz ruby-bc02b02778ca73eb64e803216e19650cd224798f.zip | |
* vm.c (rb_frame_method_id_and_class): new function to get the
method id and class of the current frame.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
| -rw-r--r-- | include/ruby/intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 977f58cd6..eaacc9605 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -626,6 +626,7 @@ VALUE rb_str_succ(VALUE); VALUE rb_time_succ(VALUE); void Init_stack(VALUE*); void rb_frame_pop(void); +int rb_frame_method_id_and_class(ID *idp, VALUE *klassp); #if defined(__cplusplus) #if 0 |
