line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Alien::Build::Plugin::Core::FFI; |
2
|
|
|
|
|
|
|
|
3
|
47
|
|
|
47
|
|
2253
|
use strict; |
|
47
|
|
|
|
|
103
|
|
|
47
|
|
|
|
|
1379
|
|
4
|
47
|
|
|
47
|
|
259
|
use warnings; |
|
47
|
|
|
|
|
111
|
|
|
47
|
|
|
|
|
996
|
|
5
|
47
|
|
|
47
|
|
792
|
use 5.008004; |
|
47
|
|
|
|
|
156
|
|
6
|
47
|
|
|
47
|
|
629
|
use Alien::Build::Plugin; |
|
47
|
|
|
|
|
136
|
|
|
47
|
|
|
|
|
346
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# ABSTRACT: Core FFI plugin |
9
|
|
|
|
|
|
|
our $VERSION = '2.47'; # VERSION |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub init |
13
|
|
|
|
|
|
|
{ |
14
|
337
|
|
|
337
|
1
|
893
|
my($self, $meta) = @_; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
$meta->default_hook( |
17
|
|
|
|
50
|
|
|
$_ => sub {}, |
18
|
337
|
|
|
|
|
2102
|
) for qw( build_ffi gather_ffi ); |
19
|
|
|
|
|
|
|
|
20
|
337
|
|
|
|
|
877
|
$meta->prop->{destdir_ffi_filter} = '^dynamic'; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |