From 1a82bab1b04a4e55cd802af2b54d84a1ac4c5a79 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 22 Apr 2021 16:46:16 +0900 Subject: error.h: rename `mrb_protect_raw` to `mrb_protect_error`; #5415 - `_raw` does not describe the nature of the function - the function protect errors during C function execution --- src/vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/vm.c b/src/vm.c index 0665634ed..b1f23555d 100644 --- a/src/vm.c +++ b/src/vm.c @@ -307,7 +307,7 @@ cipop(mrb_state *mrb) } MRB_API mrb_value -mrb_protect_raw(mrb_state *mrb, mrb_protect_raw_func *body, void *userdata, mrb_bool *error) +mrb_protect_error(mrb_state *mrb, mrb_protect_error_func *body, void *userdata, mrb_bool *error) { struct mrb_jmpbuf *prev_jmp = mrb->jmp; struct mrb_jmpbuf c_jmp; -- cgit v1.2.3