diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/debug.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ruby/debug.h b/include/ruby/debug.h index 67e15a8d2f..5663448b6c 100644 --- a/include/ruby/debug.h +++ b/include/ruby/debug.h @@ -66,6 +66,11 @@ VALUE rb_tracearg_self(rb_trace_arg_t *trace_arg); VALUE rb_tracearg_return_value(rb_trace_arg_t *trace_arg); VALUE rb_tracearg_raised_exception(rb_trace_arg_t *trace_arg); +/* Postponed Job API */ +typedef void (*rb_postponed_job_func_t)(void *arg); +int rb_postponed_job_register(unsigned int flags, rb_postponed_job_func_t func, void *data); +int rb_postponed_job_register_one(unsigned int flags, rb_postponed_job_func_t func, void *data); + /* undocumented advanced tracing APIs */ typedef enum { |