Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mruby to v3.2.0 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mruby
Submodule mruby updated 214 files
8 changes: 4 additions & 4 deletions src/mruby.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/mruby_compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down