line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package FFI::Build::File::Object; |
2
|
|
|
|
|
|
|
|
3
|
11
|
|
|
11
|
|
230642
|
use strict; |
|
11
|
|
|
|
|
33
|
|
|
11
|
|
|
|
|
320
|
|
4
|
11
|
|
|
11
|
|
56
|
use warnings; |
|
11
|
|
|
|
|
33
|
|
|
11
|
|
|
|
|
246
|
|
5
|
11
|
|
|
11
|
|
186
|
use 5.008004; |
|
11
|
|
|
|
|
41
|
|
6
|
11
|
|
|
11
|
|
512
|
use parent qw( FFI::Build::File::Base ); |
|
11
|
|
|
|
|
370
|
|
|
11
|
|
|
|
|
147
|
|
7
|
11
|
|
|
11
|
|
739
|
use constant default_encoding => ':raw'; |
|
11
|
|
|
|
|
34
|
|
|
11
|
|
|
|
|
661
|
|
8
|
11
|
|
|
11
|
|
76
|
use Carp (); |
|
11
|
|
|
|
|
31
|
|
|
11
|
|
|
|
|
1397
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# ABSTRACT: Class to track object file in FFI::Build |
11
|
|
|
|
|
|
|
our $VERSION = '2.08'; # VERSION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub default_suffix |
15
|
|
|
|
|
|
|
{ |
16
|
1
|
|
|
1
|
1
|
11
|
shift->platform->object_suffix; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub build_item |
20
|
|
|
|
|
|
|
{ |
21
|
29
|
|
|
29
|
1
|
2798
|
my($self) = @_; |
22
|
29
|
50
|
|
|
|
256
|
unless(-f $self->path) |
23
|
|
|
|
|
|
|
{ |
24
|
0
|
|
|
|
|
0
|
Carp::croak "File not built" |
25
|
|
|
|
|
|
|
} |
26
|
29
|
|
|
|
|
341
|
return; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |