One Hat Cyber Team
Your IP :
172.16.0.254
Server IP :
58.26.163.33
Server :
Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Server Software :
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
PHP Version :
7.3.25
Buat File
|
Buat Folder
Eksekusi
Dir :
C:
/
xampp7
/
perl
/
vendor
/
lib
/
FFI
/
Raw
/
View File Name :
Callback.pm
package FFI::Raw::Callback; $FFI::Raw::Callback::VERSION = '0.32'; use strict; use warnings; =head1 NAME FFI::Raw::Callback - FFI::Raw function pointer type =head1 VERSION version 0.32 =head1 DESCRIPTION A B<FFI::Raw::Callback> represents a function pointer to a Perl routine. It can be passed to functions taking a C<FFI::Raw::ptr> type. =head1 METHODS =head2 new( $coderef, $ret_type [, $arg_type ...] ) Create a C<FFI::Raw::Callback> using the code reference C<$coderef> as body. The signature (return and arguments types) must also be passed. =head1 CAVEATS For callbacks with a C<FFI::Raw::str> return type, the string value will be copied to a private field on the callback object. The memory for this value will be freed the next time the callback is called, or when the callback itself is freed. For more exact control over when the return value is freed, you can instead use C<FFI::Raw::ptr> type and return a L<FFI::Raw::MemPtr> object. =head1 AUTHOR Alessandro Ghedini <alexbio@cpan.org> =head1 LICENSE AND COPYRIGHT 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. =cut 1; # End of FFI::Raw::Callback