From: Vincent Pit Date: Tue, 3 Apr 2012 13:49:12 +0000 (+0200) Subject: Code reordering in Hooks.xs X-Git-Tag: v0.03~11 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fre-engine-Hooks.git;a=commitdiff_plain;h=7e26eccae62009c864f2a93d55b0889b82a7540e Code reordering in Hooks.xs --- diff --git a/Hooks.xs b/Hooks.xs index 10a68da..99e81d3 100644 --- a/Hooks.xs +++ b/Hooks.xs @@ -163,7 +163,7 @@ const struct regexp_engine reh_regexp_engine = { #endif }; -/* --- Private API --------------------------------------------------------- */ +/* --- Internal regexp structure -> hook list inside-out mapping ----------- */ typedef struct { size_t count; @@ -251,6 +251,8 @@ STATIC void reh_private_map_delete(pTHX_ void *ri) { return; } +/* --- Private API --------------------------------------------------------- */ + void reh_call_comp_begin_hook(pTHX_ regexp *rx) { SV *hint = reh_hint();