Skip to content

Commit 9a607cf

Browse files
committed
Implement dummy rb_gc_impl_latest_gc_info
1 parent a826936 commit 9a607cf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: gc/mmtk.c

+5-1
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,11 @@ rb_gc_impl_gc_count(void *objspace_ptr)
11361136
return objspace->gc_count;
11371137
}
11381138

1139-
VALUE rb_gc_impl_latest_gc_info(void *objspace_ptr, VALUE key) { }
1139+
VALUE
1140+
rb_gc_impl_latest_gc_info(void *objspace_ptr, VALUE key)
1141+
{
1142+
return Qnil;
1143+
}
11401144

11411145
enum gc_stat_sym {
11421146
gc_stat_sym_count,

0 commit comments

Comments
 (0)