1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* vm_method.c (rb_add_method): prototype of rb_vm_get_sourceline.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-03-24 06:08:47 +00:00
parent cb2f56aaf4
commit e3888976d0

View file

@ -260,6 +260,7 @@ method_added(VALUE klass, ID mid)
rb_method_entry_t *
rb_add_method(VALUE klass, ID mid, rb_method_type_t type, void *opts, rb_method_flag_t noex)
{
int rb_vm_get_sourceline(const rb_control_frame_t *cfp);
rb_thread_t *th;
rb_control_frame_t *cfp;
int line;