Sha256: 454ec46a147eefd232affc58c7ef66aba151e5deb5c0c12b398de997ee029007
Contents?: true
Size: 1.78 KB
Versions: 42
Compression:
Stored size: 1.78 KB
Contents
package FFI::Build::File::Library; use strict; use warnings; use 5.008004; use parent qw( FFI::Build::File::Base ); use constant default_encoding => ':raw'; # ABSTRACT: Class to track object file in FFI::Build our $VERSION = '2.08'; # VERSION sub default_suffix { shift->platform->library_suffix; } 1; __END__ =pod =encoding UTF-8 =head1 NAME FFI::Build::File::Library - Class to track object file in FFI::Build =head1 VERSION version 2.08 =head1 SYNOPSIS use FFI::Build; my $build = FFI::Build->new(source => 'src/*.c'); # $lib is an instance of FFI::Build::File::Library my $lib = $build->build; =head1 DESCRIPTION This is a class to track a library generated by L<FFI::Build>. This is returned by L<FFI::Build>'s build method. This class is a subclass of L<FFI::Build::File::Base>. The most important method is probably C<path>, which returns the path to the library which can be passed into L<FFI::Platypus> for immediate use. =head1 METHODS =head2 path my $path = $lib->path; Returns the path of the library. =head1 AUTHOR Author: Graham Ollis E<lt>plicease@cpan.orgE<gt> 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) =head1 COPYRIGHT AND LICENSE 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. =cut
Version data entries
42 entries across 21 versions & 1 rubygems