aboutsummaryrefslogtreecommitdiffstats
path: root/eval_intern.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-18 08:02:30 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-18 08:02:30 +0000
commit1c03862049be55c911c1dfb2621c3be42d7c0d09 (patch)
treea0c0c5aa74e28b7d947f72a69ae9d9f46ec0eccd /eval_intern.h
parent942a54302de5bfa4665960947c403e1c0b6831ad (diff)
downloadruby-1c03862049be55c911c1dfb2621c3be42d7c0d09.tar.gz
* eval_load.c (rb_require_safe, ruby_init_ext): load with ruby level
cfp. [ruby-core:10779] * eval_intern.h, vm.c (rb_vm_call_cfunc): new function to call a function with ruby level cfp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_intern.h')
-rw-r--r--eval_intern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval_intern.h b/eval_intern.h
index f17f829f17..5d9195d935 100644
--- a/eval_intern.h
+++ b/eval_intern.h
@@ -229,6 +229,7 @@ ruby_cref()
VALUE th_get_cbase(rb_thread_t *th);
VALUE rb_obj_is_proc(VALUE);
void rb_vm_check_redefinition_opt_method(NODE *node);
+VALUE rb_vm_call_cfunc(VALUE recv, VALUE (*func)(VALUE), VALUE arg, rb_block_t *blockptr, VALUE filename);
void rb_thread_terminate_all(void);
#define ruby_cbase() th_get_cbase(GET_THREAD())