X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2Fre%2Fengine%2FHooks.pm;h=94096908a9fac73b07d98f43889e88eed57278f8;hb=00a9a10242c70104f4964a5955ce381f37e57efc;hp=27770029de5445e8e4d5775b7ebd965e9d708882;hpb=619dd7df9609f6910fd3724e1d88e8a9697752e1;p=perl%2Fmodules%2Fre-engine-Hooks.git diff --git a/lib/re/engine/Hooks.pm b/lib/re/engine/Hooks.pm index 2777002..9409690 100644 --- a/lib/re/engine/Hooks.pm +++ b/lib/re/engine/Hooks.pm @@ -11,7 +11,7 @@ re::engine::Hooks - Hookable variant of the Perl core regular expression engine. =head1 VERSION -Version 0.02 +Version 0.03 =cut @@ -20,7 +20,7 @@ our ($VERSION, @ISA); sub dl_load_flags { 0x01 } BEGIN { - $VERSION = '0.02'; + $VERSION = '0.03'; require DynaLoader; push @ISA, qw; __PACKAGE__->bootstrap($VERSION); @@ -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) { ... } @@ -63,7 +63,7 @@ In your Perl module file : use re::engine::Hooks; # Before loading our own shared library BEGIN { - $VERSION = '0.02'; + $VERSION = '0.01'; require DynaLoader; push @ISA, 'DynaLoader'; __PACKAGE__->bootstrap($VERSION); @@ -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 : @@ -237,7 +237,7 @@ You can find documentation for this module with the perldoc command : =head1 COPYRIGHT & LICENSE -Copyright 2012 Vincent Pit, all rights reserved. +Copyright 2012,2013 Vincent Pit, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.