line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package FFI::Build::File::Object; |
2
|
|
|
|
|
|
|
|
3
|
8
|
|
|
8
|
|
97617
|
use strict; |
|
8
|
|
|
|
|
26
|
|
|
8
|
|
|
|
|
229
|
|
4
|
8
|
|
|
8
|
|
38
|
use warnings; |
|
8
|
|
|
|
|
17
|
|
|
8
|
|
|
|
|
187
|
|
5
|
8
|
|
|
8
|
|
133
|
use 5.008001; |
|
8
|
|
|
|
|
26
|
|
6
|
8
|
|
|
8
|
|
50
|
use base qw( FFI::Build::File::Base ); |
|
8
|
|
|
|
|
14
|
|
|
8
|
|
|
|
|
1276
|
|
7
|
8
|
|
|
8
|
|
53
|
use constant default_encoding => ':raw'; |
|
8
|
|
|
|
|
16
|
|
|
8
|
|
|
|
|
481
|
|
8
|
8
|
|
|
8
|
|
48
|
use Carp (); |
|
8
|
|
|
|
|
16
|
|
|
8
|
|
|
|
|
957
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# ABSTRACT: Class to track object file in FFI::Build |
11
|
|
|
|
|
|
|
our $VERSION = '0.10'; # VERSION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub default_suffix |
15
|
|
|
|
|
|
|
{ |
16
|
1
|
|
|
1
|
1
|
7
|
shift->platform->object_suffix; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub build_item |
20
|
|
|
|
|
|
|
{ |
21
|
14
|
|
|
14
|
1
|
3099
|
my($self) = @_; |
22
|
14
|
50
|
|
|
|
69
|
unless(-f $self->path) |
23
|
|
|
|
|
|
|
{ |
24
|
0
|
|
|
|
|
0
|
Carp::croak "File not built" |
25
|
|
|
|
|
|
|
} |
26
|
14
|
|
|
|
|
125
|
return; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |