summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--class.c2
-rw-r--r--vm_core.h1
3 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4c4b47843b..e41ed575b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Sep 23 17:05:14 2008 Koichi Sasada <ko1@atdot.net>
+
+ * class.c, vm_core.h: move decl of rb_iseq_clone() to class.c.
+
Tue Sep 23 17:02:47 2008 Tanaka Akira <akr@fsij.org>
* debug.h (ruby_set_debug_option): declared.
diff --git a/class.c b/class.c
index 792c8d32ad..c3f819b477 100644
--- a/class.c
+++ b/class.c
@@ -70,6 +70,8 @@ struct clone_method_data {
VALUE klass;
};
+VALUE rb_iseq_clone(VALUE iseqval, VALUE newcbase);
+
static int
clone_method(ID mid, NODE *body, struct clone_method_data *data)
{
diff --git a/vm_core.h b/vm_core.h
index 87d1e4014f..7b7c51f4cd 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -455,7 +455,6 @@ VALUE rb_iseq_compile(VALUE src, VALUE file, VALUE line);
VALUE ruby_iseq_disasm(VALUE self);
VALUE ruby_iseq_disasm_insn(VALUE str, VALUE *iseqval, int pos, rb_iseq_t *iseq, VALUE child);
const char *ruby_node_name(int node);
-VALUE rb_iseq_clone(VALUE iseqval, VALUE newcbase);
int rb_iseq_first_lineno(rb_iseq_t *iseq);
RUBY_EXTERN VALUE rb_cISeq;