From af6ccb9533c5427d6e245470e3862635358da464 Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 19 Jan 2009 02:38:11 +0000 Subject: * vm.c: add a prefix "rb_" to exposed functions vm_get_ruby_level_next_cfp(), rb_vm_make_env_object(), vm_stack_to_heap(), vm_make_proc(), vm_invoke_proc(), vm_get_sourceline(), vm_cref(), vm_localjump_error(), vm_make_jump_tag_but_local_jump(), vm_jump_tag_but_local_jump(). This changes may affect only core because most of renamed functions require a pointer of not-exposed struct such as rb_thread_t or NODE. In short, they are core functions. * cont.c, eval.c, eval_intern.h, load.c, proc.c, thread.c, vm_core.h, vm_dump.c, vm_eval.c, vm_exec.c, vm_insnhelper.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'compile.c') diff --git a/compile.c b/compile.c index 60cf14a4a..3e1d7fb92 100644 --- a/compile.c +++ b/compile.c @@ -506,11 +506,11 @@ int rb_iseq_translate_threaded_code(rb_iseq_t *iseq) { #if OPT_DIRECT_THREADED_CODE || OPT_CALL_THREADED_CODE - extern const void **vm_get_insns_address_table(void); + extern const void **rb_vm_get_insns_address_table(void); #if OPT_DIRECT_THREADED_CODE - const void * const *table = vm_get_insns_address_table(); + const void * const *table = rb_vm_get_insns_address_table(); #else - const void * const *table = vm_get_insns_address_table(); + const void * const *table = rb_vm_get_insns_address_table(); #endif int i; -- cgit