summaryrefslogtreecommitdiff
path: root/ext/-test-/postponed_job/postponed_job.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-/postponed_job/postponed_job.c')
-rw-r--r--ext/-test-/postponed_job/postponed_job.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/-test-/postponed_job/postponed_job.c b/ext/-test-/postponed_job/postponed_job.c
index d9938a5..ac1bf80 100644
--- a/ext/-test-/postponed_job/postponed_job.c
+++ b/ext/-test-/postponed_job/postponed_job.c
@@ -14,12 +14,14 @@ static VALUE
pjob_register(VALUE self, VALUE obj)
{
rb_postponed_job_register(0, pjob_callback, (void *)obj);
+ return self;
}
static VALUE
pjob_call_direct(VALUE self, VALUE obj)
{
pjob_callback((void *)obj);
+ return self;
}
void