Skip to content

Commit 5ed7951

Browse files
authored
Merge pull request ruby#64 from eileencodes/fix-missing-type-on-rb_debug_rstring_null_ptr
Fix missing type for `rb_debug_rstring_null_ptr`
2 parents 5f5aa4f + bfba3fa commit 5ed7951

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

string.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ rb_str_make_embedded(VALUE str)
434434
TERM_FILL(RSTRING(str)->as.embed.ary + len, TERM_LEN(str));
435435
}
436436

437+
void
437438
rb_debug_rstring_null_ptr(const char *func)
438439
{
439440
fprintf(stderr, "%s is returning NULL!! "

0 commit comments

Comments
 (0)