line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
MODULE = MyTest::Typemap PACKAGE = MyTest::SvAPI |
2
|
|
|
|
|
|
|
PROTOTYPES: DISABLE |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
Sv sv_out (SV* retv = NULL, bool deref = false) { |
5
|
17
|
100
|
|
|
|
|
if (deref) retv = SvRV(retv); |
6
|
17
|
50
|
|
|
|
|
RETVAL = retv; |
7
|
|
|
|
|
|
|
} |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
uint64_t scalar_in (Scalar val) { |
10
|
15
|
|
|
|
|
|
RETVAL = (uint64_t)val.get(); |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Scalar scalar_out (SV* val = NULL) { |
14
|
2
|
50
|
|
|
|
|
RETVAL = val; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
uint64_t simple_in (Simple val) { |
18
|
5
|
|
|
|
|
|
RETVAL = (uint64_t)val.get(); |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Simple simple_out (SV* val = NULL) { |
22
|
2
|
50
|
|
|
|
|
RETVAL = val; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
uint64_t ref_in (Ref val) { |
26
|
10
|
|
|
|
|
|
RETVAL = (uint64_t)val.get(); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Ref ref_out (SV* val = NULL) { |
30
|
2
|
50
|
|
|
|
|
RETVAL = val; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
uint64_t glob_in (Glob val) { |
34
|
2
|
|
|
|
|
|
RETVAL = (uint64_t)val.get(); |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Glob glob_out (SV* val = NULL) { |
38
|
2
|
50
|
|
|
|
|
RETVAL = val; |
39
|
|
|
|
|
|
|
} |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
uint64_t sub_in (Sub val) { |
42
|
2
|
|
|
|
|
|
RETVAL = (uint64_t)val.get(); |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Sub sub_out (SV* val = NULL) { |
46
|
2
|
50
|
|
|
|
|
RETVAL = val; |
47
|
|
|
|
|
|
|
} |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
uint64_t array_in (Array val) { |
50
|
3
|
|
|
|
|
|
RETVAL = (uint64_t)val.get(); |
51
|
|
|
|
|
|
|
} |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Array array_out (SV* val = NULL) { |
54
|
2
|
50
|
|
|
|
|
RETVAL = val; |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
uint64_t hash_in (Hash val) { |
58
|
4
|
|
|
|
|
|
RETVAL = (uint64_t)val.get(); |
59
|
|
|
|
|
|
|
} |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Hash hash_out (SV* val = NULL) { |
62
|
2
|
50
|
|
|
|
|
RETVAL = val; |
63
|
|
|
|
|
|
|
} |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
uint64_t stash_in (Stash val) { |
66
|
2
|
|
|
|
|
|
RETVAL = (uint64_t)val.get(); |
67
|
|
|
|
|
|
|
} |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Stash stash_out (SV* val = NULL) { |
70
|
2
|
50
|
|
|
|
|
RETVAL = val; |
71
|
|
|
|
|
|
|
} |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
uint64_t object_in (Object val) { |
74
|
3
|
|
|
|
|
|
RETVAL = (uint64_t)val.get(); |
75
|
|
|
|
|
|
|
} |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
Object object_out (SV* val = NULL) { |
78
|
2
|
50
|
|
|
|
|
RETVAL = val; |
79
|
|
|
|
|
|
|
} |