Skip to content

Commit

Permalink
Merge pull request #2332 from zacx-z/main
Browse files Browse the repository at this point in the history
`trace` can log object-type argument in ruby to be consistent with lua
  • Loading branch information
nesbox authored Oct 22, 2023
2 parents f740bff + 1e7ad34 commit 0937023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/mruby.c
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ static mrb_value mrb_trace(mrb_state *mrb, mrb_value self)
{
mrb_value text_obj;
mrb_int color = TIC_DEFAULT_COLOR;
mrb_get_args(mrb, "S|i", &text_obj, &color);
mrb_get_args(mrb, "o|i", &text_obj, &color);

tic_core* machine = getMRubyMachine(mrb);

Expand Down

0 comments on commit 0937023

Please sign in to comment.