mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
942a54302d
commit
1c03862049
4 changed files with 42 additions and 7 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue