NAME

FFI::Raw::MemPtr - Memory allocation and pointers for FFI::Raw

VERSION

version 0.04

METHODS

new( $number )

Allocate $number bytes and return a FFI::Raw::MemPtr pointing to the allocated memory. This can be passed to functions which take a FFI::Raw::ptr argument.

AUTHOR

Alessandro Ghedini <alexbio@cpan.org>

LICENSE AND COPYRIGHT

Copyright 2012 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.