line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
MODULE = MyTest::Typemap PACKAGE = MyTest |
2
|
|
|
|
|
|
|
PROTOTYPES: DISABLE |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
AV* av_out (bool not_null = false) { |
5
|
2
|
100
|
|
|
|
|
RETVAL = not_null ? newAV() : NULL; |
6
|
|
|
|
|
|
|
} |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
uint64_t av_in (AV* val) { |
9
|
2
|
|
|
|
|
|
RETVAL = (uint64_t)val; |
10
|
|
|
|
|
|
|
} |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
HV* hv_out (bool not_null = false) { |
13
|
2
|
100
|
|
|
|
|
RETVAL = not_null ? newHV() : NULL; |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
uint64_t hv_in (HV* val) { |
17
|
2
|
|
|
|
|
|
RETVAL = (uint64_t)val; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
IO* io_out (bool not_null = false) { |
21
|
2
|
100
|
|
|
|
|
if (not_null) { |
22
|
1
|
50
|
|
|
|
|
GV* gv = gv_fetchpv("STDOUT", 0, SVt_PVIO); |
23
|
1
|
50
|
|
|
|
|
RETVAL = GvIO(gv); |
|
|
50
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
24
|
|
|
|
|
|
|
} |
25
|
1
|
|
|
|
|
|
else RETVAL = NULL; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
uint64_t io_in (IO* val) { |
29
|
2
|
|
|
|
|
|
RETVAL = (uint64_t)val; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
CV* cv_out (bool not_null = false) { |
33
|
2
|
100
|
|
|
|
|
RETVAL = not_null ? cv : NULL; |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
uint64_t cv_in (CV* val) { |
37
|
2
|
|
|
|
|
|
RETVAL = (uint64_t)val; |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
GV* gv_out (bool not_null = false) { |
41
|
2
|
100
|
|
|
|
|
RETVAL = not_null ? CvGV(cv) : NULL; |
42
|
|
|
|
|
|
|
} |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
uint64_t gv_in (GV* val) { |
45
|
2
|
|
|
|
|
|
RETVAL = (uint64_t)val; |
46
|
|
|
|
|
|
|
} |