diff --git a/mruby b/mruby index 90e75f9..87260e7 160000 --- a/mruby +++ b/mruby @@ -1 +1 @@ -Subproject commit 90e75f983e2ea87ee5c418c5651a0614726f4b2c +Subproject commit 87260e7bb1a9edfb2ce9b41549c4142129061ca5 diff --git a/src/mruby.zig b/src/mruby.zig index 559c4d3..c0726b7 100644 --- a/src/mruby.zig +++ b/src/mruby.zig @@ -2583,10 +2583,10 @@ pub const RBreak = opaque { return mrb_break_proc_set1(self, proc); } pub fn tag_get(self: *Self) rbreak_tag { - return mrb_break_tag_get1(self); + return mrb_break_tag_get(self); } pub fn tag_set(self: *Self, tag: rbreak_tag) void { - return mrb_break_tag_set1(self, tag); + return mrb_break_tag_set(self, tag); } }; pub const RComplex = opaque { @@ -4281,8 +4281,8 @@ pub extern fn mrb_break_value_get1(brk: *RBreak) mrb_value; pub extern fn mrb_break_value_set1(brk: *RBreak, val: mrb_value) void; pub extern fn mrb_break_proc_get1(brk: *RBreak) ?*const RProc; pub extern fn mrb_break_proc_set1(brk: *RBreak, proc: *RProc) void; -pub extern fn mrb_break_tag_get1(brk: *RBreak) rbreak_tag; -pub extern fn mrb_break_tag_set1(brk: *RBreak, tag: rbreak_tag) void; +pub extern fn mrb_break_tag_get(brk: *RBreak) rbreak_tag; +pub extern fn mrb_break_tag_set(brk: *RBreak, tag: rbreak_tag) void; // TODO: gc.h functions diff --git a/src/mruby_compat.c b/src/mruby_compat.c index 8e2b009..a0ec638 100644 --- a/src/mruby_compat.c +++ b/src/mruby_compat.c @@ -330,10 +330,10 @@ const struct RProc *mrb_break_proc_get1(struct RBreak *brk) { void mrb_break_proc_set1(struct RBreak *brk, struct RProc *proc) { mrb_break_proc_set(brk, proc); } -uint32_t mrb_break_tag_get1(struct RBreak *brk) { +uint32_t mrb_break_tag_get(struct RBreak *brk) { return mrb_break_tag_get(brk); } -void mrb_break_tag_set1(struct RBreak *brk, uint32_t tag) { +void mrb_break_tag_set(struct RBreak *brk, uint32_t tag) { return mrb_break_tag_set(brk, tag); }