line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
MODE: INLINE |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
struct TestNN : panda::Refcnt { |
4
|
|
|
|
|
|
|
int val; |
5
|
|
|
|
|
|
|
TestNN (int val) : val(val) {} |
6
|
|
|
|
|
|
|
}; |
7
|
|
|
|
|
|
|
using TestNNi = panda::iptr; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
namespace xs { |
10
|
|
|
|
|
|
|
template <> struct Typemap : TypemapObject {}; |
11
|
|
|
|
|
|
|
} |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
MODULE = MyTest::Typemap PACKAGE = MyTest::NotNull |
14
|
|
|
|
|
|
|
PROTOTYPES: DISABLE |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
TestNN* TestNN::new (int arg) { |
17
|
6
|
|
|
|
|
|
RETVAL = new TestNN(arg); |
18
|
3
|
50
|
|
|
|
|
} |
19
|
3
|
50
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
20
|
|
|
|
|
|
|
int TestNN::val () { |
21
|
2
|
|
|
|
|
|
RETVAL = THIS->val; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
void TestNN::set_from (xs::nn other) { |
25
|
1
|
|
|
|
|
|
THIS->val = (&*other)->val; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
void TestNN::set_from2 (xs::nn other) { |
29
|
1
|
|
|
|
|
|
THIS->val = other->val; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
3
|
50
|
|
|
|
|
void TestNN::DESTROY() { |
33
|
|
|
|
|
|
|
} |