FFI::Library

FFI::Library is a module with Perl Access to Dynamically Loaded Libraries.
Download

FFI::Library Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Paul Moore, Mitchell Charity and Anatoly Vorobey
  • Publisher web site:
  • http://search.cpan.org/~gaal/FFI-1.02/Library.pm

FFI::Library Tags


FFI::Library Description

FFI::Library is a module with Perl Access to Dynamically Loaded Libraries. FFI::Library is a module with Perl Access to Dynamically Loaded Libraries.SYNOPSIS use FFI::Library; $lib = FFI::Library->new("mylib"); $fn = $lib->function("fn", "signature"); $ret = $fn->(...);This module provides access from Perl to functions exported from dynamically linked libraries. Functions are described by signatures, for details of which see the FFI module's documentation.EXAMPLES $clib_file = ($^O eq "MSWin32") ? "MSVCRT40.DLL" : "-lc"; $clib = FFI::Library->new($clib_file); $strlen = $clib->function("strlen", "cIp"); $n = $strlen->($my_string); Requirements: · Perl


FFI::Library Related Software