]> git.vpit.fr Git - perl/modules/re-engine-Hooks.git/commitdiff
Prehash the hints hash identifier
authorVincent Pit <vince@profvince.com>
Fri, 30 Mar 2012 20:01:55 +0000 (22:01 +0200)
committerVincent Pit <vince@profvince.com>
Fri, 30 Mar 2012 20:01:55 +0000 (22:01 +0200)
Hooks.xs

index eddf6ad62bbeac7ebc1e97bad99b2d24426faf3e..af878f3ba502ba703e9dbdde1f90a38d1a7aa222 100644 (file)
--- a/Hooks.xs
+++ b/Hooks.xs
@@ -230,6 +230,8 @@ BOOT:
 #ifdef USE_ITHREADS
  MUTEX_INIT(&reh_action_list_mutex);
 #endif
 #ifdef USE_ITHREADS
  MUTEX_INIT(&reh_action_list_mutex);
 #endif
+
+ PERL_HASH(reh_hash, __PACKAGE__, __PACKAGE_LEN__);
 }
 
 void
 }
 
 void