line |
true |
false |
branch |
71
|
2 |
0 |
|
72
|
2 |
0 |
BRUnit* new_enabled (SV* CLASS, int id) { |
|
2 |
0 |
BRUnit* new_enabled (SV* CLASS, int id) { |
74
|
7 |
0 |
RETVAL = new BRUnitEnabled(id); |
75
|
7 |
0 |
} |
|
7 |
0 |
} |
80
|
0 |
0 |
auto xsbr = panda::dyn_cast(THIS); |
81
|
0 |
0 |
if (!xsbr) throw "no xsbr"; |
90
|
0 |
0 |
auto xsbr = panda::dyn_cast(THIS); |
91
|
0 |
0 |
if (!xsbr) throw "no xsbr"; |
97
|
0 |
10 |
if (newval) THIS->id = SvIV(newval); |
|
0 |
0 |
if (newval) THIS->id = SvIV(newval); |
|
0 |
0 |
if (newval) THIS->id = SvIV(newval); |
104
|
11 |
0 |
} |
111
|
4 |
0 |
|
112
|
4 |
0 |
BRUnit* BRStorage::unit (BRUnit* unit = NULL) { |
|
4 |
0 |
BRUnit* BRStorage::unit (BRUnit* unit = NULL) { |
114
|
12 |
9 |
THIS->set_unit(unit); |
115
|
12 |
0 |
XSRETURN_UNDEF; |
121
|
0 |
0 |
if (ix == 1) THIS->set_unit_with_id2(id); |
128
|
4 |
0 |
} |