]> git.vpit.fr Git - perl/modules/re-engine-Hooks.git/commitdiff
Code reordering in Hooks.xs
authorVincent Pit <vince@profvince.com>
Tue, 3 Apr 2012 13:49:12 +0000 (15:49 +0200)
committerVincent Pit <vince@profvince.com>
Tue, 3 Apr 2012 13:49:12 +0000 (15:49 +0200)
Hooks.xs

index 10a68daa331d831b1c6df2f6e7afb0bfa0dc6e56..99e81d303a358a01e8ff89e046efdbe0b6eed091 100644 (file)
--- 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();