Module: Bug::File

Defined in:
ext/-test-/file/init.c

Defined Under Namespace

Modules: NewlineConv, Stat

Class Method Summary collapse

Class Method Details

.after_gc_exit_hook=(proc) ⇒ Object



75
76
77
78
79
80
# File 'ext/-test-/tracepoint/gc_hook.c', line 75

static VALUE
start_after_gc_exit(VALUE module, VALUE proc)
{
    return set_gc_hook(module, proc, RUBY_INTERNAL_EVENT_GC_EXIT,
                       "__set_after_gc_exit_tpval__", "__set_after_gc_exit_proc__");
}

.after_gc_start_hook=(proc) ⇒ Object



68
69
70
71
72
73
# File 'ext/-test-/tracepoint/gc_hook.c', line 68

static VALUE
set_after_gc_start(VALUE module, VALUE proc)
{
    return set_gc_hook(module, proc, RUBY_INTERNAL_EVENT_GC_START,
                       "__set_after_gc_start_tpval__", "__set_after_gc_start_proc__");
}