FFI::Raw::Callback - FFI::Raw function pointer type
version 0.20
A FFI::Raw::Callback represents a function pointer to a Perl routine. It can be passed to functions taking a FFI::Raw::ptr type.
FFI::Raw::ptr
Create a FFI::Raw::Callback using the code reference $coderef as body. The signature (return and arguments types) must also be passed.
FFI::Raw::Callback
$coderef
Alessandro Ghedini <alexbio@cpan.org>
Copyright 2013 Alessandro Ghedini.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install FFI::Raw, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FFI::Raw
CPAN shell
perl -MCPAN -e shell install FFI::Raw
For more information on module installation, please visit the detailed CPAN module installation guide.