summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-12 17:44:30 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-13 09:47:08 +0900
commit0c2d81dada88b5a3946c3162187df4223bfe6b4f (patch)
treeae1fc5e5aef4fcbd0a422c476ba026249fc646e3 /vm_core.h
parentaac4d9d6c7e6b6b0742f3941b574f6006ccb5672 (diff)
Renamed ruby_finalize_{0,1}
And pass rb_execution_context_t as an argument.
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index d5e18ba489..ae49798898 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -582,6 +582,7 @@ typedef struct rb_at_exit_list {
struct rb_objspace;
struct rb_objspace *rb_objspace_alloc(void);
void rb_objspace_free(struct rb_objspace *);
+void rb_objspace_call_finalizer(struct rb_objspace *);
typedef struct rb_hook_list_struct {
struct rb_event_hook_struct *hooks;
@@ -1918,6 +1919,8 @@ rb_exec_event_hook_script_compiled(rb_execution_context_t *ec, const rb_iseq_t *
rb_ary_new_from_args(2, eval_script, (VALUE)iseq));
}
+void rb_vm_trap_exit(rb_vm_t *vm);
+
RUBY_SYMBOL_EXPORT_BEGIN
int rb_thread_check_trap_pending(void);