Skip to content

Conversation

@kiddy818
Copy link

@kiddy818 kiddy818 commented Aug 5, 2020

the 3rd parameter for rb_funcall index the parameter number of left parameter.
here hans only 3 parameter (1 format, and 2 interger), not 4

kiddy818 added 2 commits August 5, 2020 12:26
rb_funcall(Qnil, id_format, 4, rb_str_new2("NODE%i -> NODE%i;\n"),  ULONG2NUM((unsigned long) n), ULONG2NUM((unsigned long) n1)));
here has only 3 parameters (rb_str_new2 (with 2 %i parameter), n, n1), not 4.

so change 4 to 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant