summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-24 06:08:47 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-24 06:08:47 +0000
commite3888976d0f6507d215a536d43a73430182a4d86 (patch)
tree38a8f3e89a169f4d6e784eb22610de607ba254f1 /vm_method.c
parentcb2f56aaf48b24740fca6d24f0915d6b3cbb6db8 (diff)
* 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
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_method.c b/vm_method.c
index 4b5ab89e7c..cccd02c088 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -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;