line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package FFI::Build::File::Object; |
2
|
|
|
|
|
|
|
|
3
|
8
|
|
|
8
|
|
66752
|
use strict; |
|
8
|
|
|
|
|
22
|
|
|
8
|
|
|
|
|
242
|
|
4
|
8
|
|
|
8
|
|
41
|
use warnings; |
|
8
|
|
|
|
|
13
|
|
|
8
|
|
|
|
|
188
|
|
5
|
8
|
|
|
8
|
|
125
|
use 5.008001; |
|
8
|
|
|
|
|
27
|
|
6
|
8
|
|
|
8
|
|
56
|
use base qw( FFI::Build::File::Base ); |
|
8
|
|
|
|
|
14
|
|
|
8
|
|
|
|
|
1246
|
|
7
|
8
|
|
|
8
|
|
53
|
use constant default_encoding => ':raw'; |
|
8
|
|
|
|
|
12
|
|
|
8
|
|
|
|
|
395
|
|
8
|
8
|
|
|
8
|
|
45
|
use Carp (); |
|
8
|
|
|
|
|
14
|
|
|
8
|
|
|
|
|
945
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# ABSTRACT: Class to track object file in FFI::Build |
11
|
|
|
|
|
|
|
our $VERSION = '0.12'; # 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
|
2864
|
my($self) = @_; |
22
|
14
|
50
|
|
|
|
82
|
unless(-f $self->path) |
23
|
|
|
|
|
|
|
{ |
24
|
0
|
|
|
|
|
0
|
Carp::croak "File not built" |
25
|
|
|
|
|
|
|
} |
26
|
14
|
|
|
|
|
142
|
return; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |