DOKK / manpages / debian 12 / libffi-platypus-perl / FFI::Build::File::Library.3pm.en
FFI::Build::File::Library(3pm) User Contributed Perl Documentation FFI::Build::File::Library(3pm)

FFI::Build::File::Library - Class to track object file in FFI::Build

version 2.05

 use FFI::Build;
 
 my $build = FFI::Build->new(source => 'src/*.c');
 # $lib is an instance of FFI::Build::File::Library
 my $lib = $build->build;

This is a class to track a library generated by FFI::Build. This is returned by FFI::Build's build method. This class is a subclass of FFI::Build::File::Base. The most important method is probably "path", which returns the path to the library which can be passed into FFI::Platypus for immediate use.

 my $path = $lib->path;

Returns the path of the library.

Author: Graham Ollis <plicease@cpan.org>

Contributors:

Bakkiaraj Murugesan (bakkiaraj)

Dylan Cali (calid)

pipcet

Zaki Mughal (zmughal)

Fitz Elliott (felliott)

Vickenty Fesunov (vyf)

Gregor Herrmann (gregoa)

Shlomi Fish (shlomif)

Damyan Ivanov

Ilya Pavlov (Ilya33)

Petr Písař (ppisar)

Mohammad S Anwar (MANWAR)

Håkon Hægland (hakonhagland, HAKONH)

Meredith (merrilymeredith, MHOWARD)

Diab Jerius (DJERIUS)

Eric Brine (IKEGAMI)

szTheory

José Joaquín Atria (JJATRIA)

Pete Houston (openstrike, HOUSTON)

This software is copyright (c) 2015-2022 by Graham Ollis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2023-01-15 perl v5.36.0