From cb2157bbaee2fcded4feebaa46c10551426e10d7 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Wed, 24 Sep 2014 18:43:20 +0900 Subject: [PATCH] s/pic_make_cont/pic_make_econt/g --- cont.c | 4 ++-- error.c | 2 +- include/picrin/cont.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cont.c b/cont.c index 2c109c67..214602e5 100644 --- a/cont.c +++ b/cont.c @@ -112,7 +112,7 @@ escape_call(pic_state *pic) } struct pic_proc * -pic_make_cont(pic_state *pic, struct pic_escape *escape) +pic_make_econt(pic_state *pic, struct pic_escape *escape) { static const pic_data_type escape_type = { "escape", pic_free, NULL }; struct pic_proc *cont; @@ -141,7 +141,7 @@ pic_escape(pic_state *pic, struct pic_proc *proc) else { pic_value val; - val = pic_apply1(pic, proc, pic_obj_value(pic_make_cont(pic, escape))); + val = pic_apply1(pic, proc, pic_obj_value(pic_make_econt(pic, escape))); escape->valid = false; diff --git a/error.c b/error.c index 02ec75a6..92aa4710 100644 --- a/error.c +++ b/error.c @@ -99,7 +99,7 @@ pic_push_try(pic_state *pic) struct pic_proc *cont, *handler; size_t xp_len, xp_offset; - cont = pic_make_cont(pic, escape); + cont = pic_make_econt(pic, escape); handler = pic_make_proc(pic, native_exception_handler, "(native-exception-handler)"); diff --git a/include/picrin/cont.h b/include/picrin/cont.h index 6fd6fda8..fd7bfea4 100644 --- a/include/picrin/cont.h +++ b/include/picrin/cont.h @@ -29,7 +29,7 @@ struct pic_escape { int pic_save_point(pic_state *, struct pic_escape *); noreturn void pic_load_point(pic_state *, struct pic_escape *); -struct pic_proc *pic_make_cont(pic_state *, struct pic_escape *); +struct pic_proc *pic_make_econt(pic_state *, struct pic_escape *); void pic_wind(pic_state *, struct pic_winder *, struct pic_winder *); pic_value pic_dynamic_wind(pic_state *, struct pic_proc *, struct pic_proc *, struct pic_proc *);