line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
MODULE = Geo::Geos PACKAGE = Geo::Geos::Noding::SimpleNoder |
2
|
|
|
|
|
|
|
PROTOTYPES: DISABLE |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
Sv new(SV*, SV *newSegInt = NULL) { |
5
|
1
|
50
|
|
|
|
|
SegmentIntersector* si = newSegInt ? xs::in(newSegInt) : NULL; |
|
|
50
|
|
|
|
|
|
6
|
2
|
50
|
|
|
|
|
Object self{xs::out(new SimpleNoder(si))}; |
|
|
50
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
7
|
1
|
50
|
|
|
|
|
if (si) { |
8
|
1
|
50
|
|
|
|
|
self.payload_attach(SvRV(newSegInt), &payload_marker); |
9
|
|
|
|
|
|
|
} |
10
|
1
|
50
|
|
|
|
|
RETVAL = self.ref(); |
|
|
50
|
|
|
|
|
|
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
0
|
|
|
|
|
|
int CLONE_SKIP (...) { PERL_UNUSED_VAR(items); RETVAL = 1; } |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
BOOT { |
17
|
46
|
50
|
|
|
|
|
Stash(__PACKAGE__).inherit("Geo::Geos::Noding::SinglePassNoder"); |
|
|
50
|
|
|
|
|
|
18
|
|
|
|
|
|
|
} |