B-Hooks-OP-PPAddr

 view release on metacpan or  search on metacpan

lib/B/Hooks/OP/PPAddr.pm  view on Meta::CPAN

    );

Your XS module can now include C<hook_op_ppaddr.h>.

=head1 TYPES

=head2 OP

    typedef OP *(*hook_op_ppaddr_cb_t) (pTHX_ OP *, void *user_data)

Type that callbacks need to implement.

=head1 FUNCTIONS

=head2 hook_op_ppaddr

    void hook_op_ppaddr (OP *op, hook_op_ppaddr_cb_t cb, void *user_data)

Replace the function to execute C<op> with the callback C<cb>. C<user_data>
will be passed to the callback as the last argument.

=head2 hook_op_ppaddr_around

    void hook_op_ppaddr_around (OP *op, hook_op_ppaddr_cb_t before, hook_op_ppaddr_cb_t after, void *user_data)

Register the callbacks C<before> and C<after> to be called before and after the
execution of C<op>. C<user_data> will be passed to the callback as the last
argument.

=head1 SEE ALSO

=over 4

=item *

L<B::Hooks::OP::Check>



( run in 0.634 second using v1.01-cache-2.11-cpan-9b1e4054eb1 )