From: Vincent Pit Date: Tue, 3 Apr 2012 13:47:00 +0000 (+0200) Subject: Really rename comp_* and exec_* to comp_node and exec_node X-Git-Tag: v0.03~12 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=0bc2cccd40676fd45918e6044dd9058ca3591f36;p=perl%2Fmodules%2Fre-engine-Hooks.git Really rename comp_* and exec_* to comp_node and exec_node --- diff --git a/lib/re/engine/Hooks.pm b/lib/re/engine/Hooks.pm index 2777002..44f9adf 100644 --- a/lib/re/engine/Hooks.pm +++ b/lib/re/engine/Hooks.pm @@ -36,8 +36,8 @@ In your XS file : ... } - STATIC void dri_exec_hook(pTHX_ regexp *rx, regnode *node, - regmatch_info *info, regmatch_state *state) { + STATIC void dri_exec_node_hook(pTHX_ + regexp *rx, regnode *node, regmatch_info *info, regmatch_state *state) { ... } @@ -103,7 +103,7 @@ Currently evaluates to : typedef void (*reh_comp_node_hook)(pTHX_ regexp *, regnode *); -=head2 C +=head2 C The typedef for the regexp node_execution phase hook. Currently evaluates to : diff --git a/re_defs.h b/re_defs.h index b9e1ac2..cf2eb14 100644 --- a/re_defs.h +++ b/re_defs.h @@ -1,6 +1,6 @@ EXTERN_C void reh_call_comp_begin_hook(pTHX_ regexp *); -EXTERN_C void reh_call_comp_hook(pTHX_ regexp *, regnode *); -EXTERN_C void reh_call_exec_hook(pTHX_ regexp *, regnode *, regmatch_info *, regmatch_state *); +EXTERN_C void reh_call_comp_node_hook(pTHX_ regexp *, regnode *); +EXTERN_C void reh_call_exec_node_hook(pTHX_ regexp *, regnode *, regmatch_info *, regmatch_state *); #define REH_CALL_COMP_BEGIN_HOOK(a) reh_call_comp_begin_hook(aTHX_ (a)) #define REH_CALL_COMP_NODE_HOOK(a, b) reh_call_comp_node_hook(aTHX_ (a), (b))