line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package FFI::Build::File::Object; |
2
|
|
|
|
|
|
|
|
3
|
8
|
|
|
8
|
|
79858
|
use strict; |
|
8
|
|
|
|
|
23
|
|
|
8
|
|
|
|
|
191
|
|
4
|
8
|
|
|
8
|
|
31
|
use warnings; |
|
8
|
|
|
|
|
12
|
|
|
8
|
|
|
|
|
160
|
|
5
|
8
|
|
|
8
|
|
115
|
use 5.008001; |
|
8
|
|
|
|
|
23
|
|
6
|
8
|
|
|
8
|
|
42
|
use base qw( FFI::Build::File::Base ); |
|
8
|
|
|
|
|
12
|
|
|
8
|
|
|
|
|
1026
|
|
7
|
8
|
|
|
8
|
|
44
|
use constant default_encoding => ':raw'; |
|
8
|
|
|
|
|
9
|
|
|
8
|
|
|
|
|
387
|
|
8
|
8
|
|
|
8
|
|
43
|
use Carp (); |
|
8
|
|
|
|
|
19
|
|
|
8
|
|
|
|
|
816
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# ABSTRACT: Class to track object file in FFI::Build |
11
|
|
|
|
|
|
|
our $VERSION = '0.11'; # VERSION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub default_suffix |
15
|
|
|
|
|
|
|
{ |
16
|
1
|
|
|
1
|
1
|
6
|
shift->platform->object_suffix; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub build_item |
20
|
|
|
|
|
|
|
{ |
21
|
14
|
|
|
14
|
1
|
2563
|
my($self) = @_; |
22
|
14
|
50
|
|
|
|
59
|
unless(-f $self->path) |
23
|
|
|
|
|
|
|
{ |
24
|
0
|
|
|
|
|
0
|
Carp::croak "File not built" |
25
|
|
|
|
|
|
|
} |
26
|
14
|
|
|
|
|
195
|
return; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |