]> git.vpit.fr Git - perl/modules/re-engine-Hooks.git/commitdiff
Really rename comp_* and exec_* to comp_node and exec_node
authorVincent Pit <vince@profvince.com>
Tue, 3 Apr 2012 13:47:00 +0000 (15:47 +0200)
committerVincent Pit <vince@profvince.com>
Tue, 3 Apr 2012 13:47:00 +0000 (15:47 +0200)
lib/re/engine/Hooks.pm
re_defs.h

index 27770029de5445e8e4d5775b7ebd965e9d708882..44f9adf75a7a6e115934a3c812218fd65c0fc209 100644 (file)
@@ -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<reh_exec_hook>
+=head2 C<reh_exec_node_hook>
 
 The typedef for the regexp node_execution phase hook.
 Currently evaluates to :
index b9e1ac2536ce05ba688b2e03a0c276833b411558..cf2eb14c582ba7ad5220ae7102284ce01e12b311 100644 (file)
--- 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))