Branch Coverage

t/typemap/object/object_xsgen.cc
Criterion Covered Total %
branch 682 1848 36.9


line true false branch
172 0 1 virtual ~_MyBase () { dcnt.c++; }
0 1 virtual ~_MyBase () { dcnt.c++; }
0 13 virtual ~_MyBase () { dcnt.c++; }
0 8 virtual ~_MyBase () { dcnt.c++; }
178 8 0 static std::string package () { return "MyTest::PTRMyBase"; }
181 8 0 static std::string package () { return "MyTest::MyBase"; }
190 0 4 if (items != 2)
196 4 0 int arg = (int)SvIV(ST(1))
0 0 int arg = (int)SvIV(ST(1))
206 3 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
207 3 0 RETVALSV = sv_2mortal(RETVALSV);
208 3 1 ST(0) = RETVALSV;
212 4 0 }); }
219 21 0 if (items < 1 || items > 2)
0 21 if (items < 1 || items > 2)
223 21 0 dXSTARG;
0 0 dXSTARG;
224 6 15 PTRMyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 5 PTRMyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 PTRMyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 PTRMyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
228 5 0 if (items < 2)
238 0 5 XSprePUSH; PUSHi((IV)RETVAL);
5 0 XSprePUSH; PUSHi((IV)RETVAL);
241 5 0 }); }
248 0 17 if (items != 2)
253 0 17 PTRMyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
263 2 0 }); }
270 0 5 if (items != 1)
275 5 0 PTRMyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 5 PTRMyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
284 5 0 }); }
291 0 5 if (items != 2)
297 5 0 int arg = (int)SvIV(ST(1))
0 0 int arg = (int)SvIV(ST(1))
307 4 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
308 4 0 RETVALSV = sv_2mortal(RETVALSV);
309 4 1 ST(0) = RETVALSV;
313 5 0 }); }
320 25 0 if (items < 1 || items > 2)
0 25 if (items < 1 || items > 2)
324 25 0 dXSTARG;
0 0 dXSTARG;
325 10 15 MyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 9 MyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 MyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 MyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
329 9 0 if (items < 2)
339 5 4 XSprePUSH; PUSHi((IV)RETVAL);
4 0 XSprePUSH; PUSHi((IV)RETVAL);
342 9 0 }); }
349 0 0 if (items != 1)
353 0 0 dXSTARG;
0 0 dXSTARG;
354 0 0 MyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
359 0 0 XSprePUSH; PUSHi((IV)RETVAL);
0 0 XSprePUSH; PUSHi((IV)RETVAL);
362 0 0 }); }
369 0 17 if (items != 2)
374 0 17 MyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
384 2 0 }); }
391 0 10 if (items != 1)
396 10 0 MyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 10 MyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
405 10 0 }); }
419 0 7 virtual ~_MyChild () { dcnt.c++; }
0 3 virtual ~_MyChild () { dcnt.c++; }
425 1 0 static std::string package () { return "MyTest::PTRMyChild"; }
428 1 0 static std::string package () { return "MyTest::MyChild"; }
436 0 2 if (items != 3)
442 2 0 int arg1 = (int)SvIV(ST(1))
0 0 int arg1 = (int)SvIV(ST(1))
444 2 0 int arg2 = (int)SvIV(ST(2))
0 0 int arg2 = (int)SvIV(ST(2))
453 2 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
454 2 0 RETVALSV = sv_2mortal(RETVALSV);
459 2 0 }); }
466 2 1 if (items < 1 || items > 2)
0 2 if (items < 1 || items > 2)
470 2 0 dXSTARG;
0 0 dXSTARG;
471 2 0 PTRMyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 PTRMyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
475 2 0 if (items < 2)
485 0 2 XSprePUSH; PUSHi((IV)RETVAL);
2 0 XSprePUSH; PUSHi((IV)RETVAL);
488 2 0 }); }
495 0 2 if (items != 2)
500 0 2 PTRMyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
513 1 0 }); }
520 0 2 if (items != 1)
525 2 0 PTRMyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 PTRMyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
535 2 0 }); }
542 0 7 if (items != 3)
548 7 0 int arg1 = (int)SvIV(ST(1))
0 0 int arg1 = (int)SvIV(ST(1))
550 7 0 int arg2 = (int)SvIV(ST(2))
0 0 int arg2 = (int)SvIV(ST(2))
560 6 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
561 6 0 RETVALSV = sv_2mortal(RETVALSV);
562 6 1 ST(0) = RETVALSV;
566 7 0 }); }
573 6 1 if (items < 1 || items > 2)
0 6 if (items < 1 || items > 2)
577 6 0 dXSTARG;
0 0 dXSTARG;
578 6 0 MyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 6 MyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
582 6 0 if (items < 2)
592 2 4 XSprePUSH; PUSHi((IV)RETVAL);
4 0 XSprePUSH; PUSHi((IV)RETVAL);
595 6 0 }); }
602 0 4 if (items != 2)
607 0 4 MyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
620 3 0 }); }
627 0 6 if (items != 1)
632 6 0 MyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 6 MyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
642 6 0 }); }
657 0 6 }
0 6 }
666 0 2 }
0 2 }
688 2 0 static std::string package () { return "MyTest::PTRMyRefCounted"; }
692 0 0 static std::string package () { return "MyTest::PTRMyRefCountedChild"; }
696 2 0 static std::string package () { return "MyTest::MyRefCounted"; }
700 0 0 static std::string package () { return "MyTest::MyRefCountedChild"; }
704 2 0 static std::string package () { return "MyTest::PTRMyBaseSP"; }
708 0 0 static std::string package () { return "MyTest::PTRMyChildSP"; }
712 2 0 static std::string package () { return "MyTest::MyBaseSP"; }
717 0 0 static std::string package () { return "MyTest::MyChildSP"; }
725 0 1 if (items != 1)
739 1 0 }); }
746 0 1 if (items != 0)
758 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
759 1 0 RETVALSV = sv_2mortal(RETVALSV);
764 1 0 }); }
771 0 1 if (items != 1)
785 1 0 }); }
792 0 1 if (items != 0)
804 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
805 1 0 RETVALSV = sv_2mortal(RETVALSV);
810 1 0 }); }
817 0 1 if (items != 1)
822 1 0 PTRMyRefCountedIPTR obj = xs::in(ST(0));
830 1 0 }); }
837 0 1 if (items != 0)
848 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
849 1 0 RETVALSV = sv_2mortal(RETVALSV);
854 1 0 }); }
861 0 1 if (items != 1)
866 1 0 MyRefCountedIPTR obj = xs::in(ST(0));
874 1 0 }); }
881 0 1 if (items != 0)
892 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
893 1 0 RETVALSV = sv_2mortal(RETVALSV);
898 1 0 }); }
905 0 1 if (items != 1)
910 1 0 PTRMyBaseSP obj = xs::in(ST(0));
918 1 0 }); }
925 0 1 if (items != 0)
936 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
937 1 0 RETVALSV = sv_2mortal(RETVALSV);
942 1 0 }); }
949 0 1 if (items != 1)
954 1 0 MyBaseSP obj = xs::in(ST(0));
962 1 0 }); }
969 0 1 if (items != 0)
980 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
981 1 0 RETVALSV = sv_2mortal(RETVALSV);
986 1 0 }); }
993 0 2 if (items != 2)
999 2 0 int val = (int)SvIV(ST(1))
0 0 int val = (int)SvIV(ST(1))
1008 2 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1009 2 0 RETVALSV = sv_2mortal(RETVALSV);
1014 2 0 }); }
1021 0 6 if (items != 1)
1025 6 0 dXSTARG;
0 0 dXSTARG;
1026 6 0 PTRMyRefCounted* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 5 PTRMyRefCounted* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 PTRMyRefCounted* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 PTRMyRefCounted* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1031 1 4 XSprePUSH; PUSHi((IV)RETVAL);
4 0 XSprePUSH; PUSHi((IV)RETVAL);
1034 5 0 }); }
1041 0 5 if (items != 1)
1046 5 0 PTRMyRefCounted* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 5 PTRMyRefCounted* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyRefCounted* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyRefCounted* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1055 5 0 }); }
1062 0 1 if (items != 3)
1068 1 0 int val = (int)SvIV(ST(1))
0 0 int val = (int)SvIV(ST(1))
1070 1 0 int val2 = (int)SvIV(ST(2))
0 0 int val2 = (int)SvIV(ST(2))
1079 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1080 1 0 RETVALSV = sv_2mortal(RETVALSV);
1085 1 0 }); }
1092 0 1 if (items != 1)
1096 1 0 dXSTARG;
0 0 dXSTARG;
1097 1 0 PTRMyRefCountedChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1 PTRMyRefCountedChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyRefCountedChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyRefCountedChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1102 0 1 XSprePUSH; PUSHi((IV)RETVAL);
1 0 XSprePUSH; PUSHi((IV)RETVAL);
1105 1 0 }); }
1112 0 1 if (items != 1)
1117 1 0 PTRMyRefCountedChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1 PTRMyRefCountedChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyRefCountedChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyRefCountedChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1127 1 0 }); }
1134 0 2 if (items != 2)
1140 2 0 int val = (int)SvIV(ST(1))
0 0 int val = (int)SvIV(ST(1))
1149 2 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1150 2 0 RETVALSV = sv_2mortal(RETVALSV);
1155 2 0 }); }
1162 0 6 if (items != 1)
1166 6 0 dXSTARG;
0 0 dXSTARG;
1167 6 0 MyRefCounted* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 5 MyRefCounted* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 MyRefCounted* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 MyRefCounted* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1172 5 0 XSprePUSH; PUSHi((IV)RETVAL);
0 0 XSprePUSH; PUSHi((IV)RETVAL);
1175 5 0 }); }
1182 0 5 if (items != 1)
1187 5 0 MyRefCounted* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 5 MyRefCounted* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyRefCounted* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyRefCounted* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1196 5 0 }); }
1203 0 1 if (items != 3)
1209 1 0 int val = (int)SvIV(ST(1))
0 0 int val = (int)SvIV(ST(1))
1211 1 0 int val2 = (int)SvIV(ST(2))
0 0 int val2 = (int)SvIV(ST(2))
1220 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1221 1 0 RETVALSV = sv_2mortal(RETVALSV);
1226 1 0 }); }
1233 0 1 if (items != 1)
1237 1 0 dXSTARG;
0 0 dXSTARG;
1238 1 0 MyRefCountedChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1 MyRefCountedChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyRefCountedChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyRefCountedChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1243 1 0 XSprePUSH; PUSHi((IV)RETVAL);
0 0 XSprePUSH; PUSHi((IV)RETVAL);
1246 1 0 }); }
1253 0 1 if (items != 1)
1258 1 0 MyRefCountedChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1 MyRefCountedChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyRefCountedChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyRefCountedChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1268 1 0 }); }
1275 0 2 if (items != 2)
1281 2 0 int val = (int)SvIV(ST(1))
0 0 int val = (int)SvIV(ST(1))
1290 2 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1291 2 0 RETVALSV = sv_2mortal(RETVALSV);
1296 2 0 }); }
1303 0 4 if (items != 1)
1307 4 0 dXSTARG;
0 0 dXSTARG;
1308 4 0 PTRMyRefCountedIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 3 PTRMyRefCountedIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 PTRMyRefCountedIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 PTRMyRefCountedIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1313 3 0 XSprePUSH; PUSHi((IV)RETVAL);
0 0 XSprePUSH; PUSHi((IV)RETVAL);
1316 3 0 }); }
1323 0 3 if (items != 1)
1328 3 0 PTRMyRefCountedIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 3 PTRMyRefCountedIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyRefCountedIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyRefCountedIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1337 3 0 }); }
1344 0 1 if (items != 3)
1350 1 0 int val = (int)SvIV(ST(1))
0 0 int val = (int)SvIV(ST(1))
1352 1 0 int val2 = (int)SvIV(ST(2))
0 0 int val2 = (int)SvIV(ST(2))
1361 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1362 1 0 RETVALSV = sv_2mortal(RETVALSV);
1367 1 0 }); }
1374 0 1 if (items != 1)
1378 1 0 dXSTARG;
0 0 dXSTARG;
1379 1 0 PTRMyRefCountedChildIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1 PTRMyRefCountedChildIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyRefCountedChildIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyRefCountedChildIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1384 1 0 XSprePUSH; PUSHi((IV)RETVAL);
0 0 XSprePUSH; PUSHi((IV)RETVAL);
1387 1 0 }); }
1394 0 1 if (items != 1)
1399 1 0 PTRMyRefCountedChildIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1 PTRMyRefCountedChildIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyRefCountedChildIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyRefCountedChildIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1409 1 0 }); }
1416 0 2 if (items != 2)
1422 2 0 int val = (int)SvIV(ST(1))
0 0 int val = (int)SvIV(ST(1))
1431 2 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1432 2 0 RETVALSV = sv_2mortal(RETVALSV);
1437 2 0 }); }
1444 0 4 if (items != 1)
1448 4 0 dXSTARG;
0 0 dXSTARG;
1449 4 0 MyRefCountedIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 3 MyRefCountedIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 MyRefCountedIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 MyRefCountedIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1454 3 0 XSprePUSH; PUSHi((IV)RETVAL);
0 0 XSprePUSH; PUSHi((IV)RETVAL);
1457 3 0 }); }
1464 0 3 if (items != 1)
1469 3 0 MyRefCountedIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 3 MyRefCountedIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyRefCountedIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyRefCountedIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1478 3 0 }); }
1485 0 1 if (items != 3)
1491 1 0 int v1 = (int)SvIV(ST(1))
0 0 int v1 = (int)SvIV(ST(1))
1493 1 0 int v2 = (int)SvIV(ST(2))
0 0 int v2 = (int)SvIV(ST(2))
1502 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1503 1 0 RETVALSV = sv_2mortal(RETVALSV);
1508 1 0 }); }
1515 0 1 if (items != 1)
1519 1 0 dXSTARG;
0 0 dXSTARG;
1520 1 0 MyRefCountedChildIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1 MyRefCountedChildIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyRefCountedChildIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyRefCountedChildIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1525 1 0 XSprePUSH; PUSHi((IV)RETVAL);
0 0 XSprePUSH; PUSHi((IV)RETVAL);
1528 1 0 }); }
1535 0 1 if (items != 1)
1540 1 0 MyRefCountedChildIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1 MyRefCountedChildIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyRefCountedChildIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyRefCountedChildIPTR THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1550 1 0 }); }
1557 0 2 if (items != 2)
1563 2 0 int val = (int)SvIV(ST(1))
0 0 int val = (int)SvIV(ST(1))
1572 2 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1573 2 0 RETVALSV = sv_2mortal(RETVALSV);
1578 2 0 }); }
1585 0 5 if (items != 1)
1589 5 0 dXSTARG;
0 0 dXSTARG;
1590 5 0 PTRMyBaseSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 4 PTRMyBaseSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 PTRMyBaseSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 PTRMyBaseSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1595 4 0 XSprePUSH; PUSHi((IV)RETVAL);
0 0 XSprePUSH; PUSHi((IV)RETVAL);
1598 4 0 }); }
1605 0 4 if (items != 1)
1610 4 0 PTRMyBaseSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 4 PTRMyBaseSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyBaseSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyBaseSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1619 4 0 }); }
1626 0 1 if (items != 3)
1632 1 0 int val = (int)SvIV(ST(1))
0 0 int val = (int)SvIV(ST(1))
1634 1 0 int val2 = (int)SvIV(ST(2))
0 0 int val2 = (int)SvIV(ST(2))
1643 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1644 1 0 RETVALSV = sv_2mortal(RETVALSV);
1649 1 0 }); }
1656 0 1 if (items != 1)
1660 1 0 dXSTARG;
0 0 dXSTARG;
1661 1 0 PTRMyChildSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1 PTRMyChildSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyChildSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyChildSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1666 1 0 XSprePUSH; PUSHi((IV)RETVAL);
0 0 XSprePUSH; PUSHi((IV)RETVAL);
1669 1 0 }); }
1676 0 1 if (items != 1)
1681 1 0 PTRMyChildSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1 PTRMyChildSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyChildSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyChildSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1691 1 0 }); }
1698 0 2 if (items != 2)
1704 2 0 int val = (int)SvIV(ST(1))
0 0 int val = (int)SvIV(ST(1))
1713 2 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1714 2 0 RETVALSV = sv_2mortal(RETVALSV);
1719 2 0 }); }
1726 0 5 if (items != 1)
1730 5 0 dXSTARG;
0 0 dXSTARG;
1731 5 0 MyBaseSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 4 MyBaseSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 MyBaseSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 MyBaseSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1736 4 0 XSprePUSH; PUSHi((IV)RETVAL);
0 0 XSprePUSH; PUSHi((IV)RETVAL);
1739 4 0 }); }
1746 0 4 if (items != 1)
1751 4 0 MyBaseSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 4 MyBaseSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyBaseSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyBaseSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1760 4 0 }); }
1767 0 1 if (items != 3)
1773 1 0 int val = (int)SvIV(ST(1))
0 0 int val = (int)SvIV(ST(1))
1775 1 0 int val2 = (int)SvIV(ST(2))
0 0 int val2 = (int)SvIV(ST(2))
1784 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1785 1 0 RETVALSV = sv_2mortal(RETVALSV);
1790 1 0 }); }
1797 0 1 if (items != 1)
1801 1 0 dXSTARG;
0 0 dXSTARG;
1802 1 0 MyChildSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1 MyChildSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyChildSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyChildSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1807 1 0 XSprePUSH; PUSHi((IV)RETVAL);
0 0 XSprePUSH; PUSHi((IV)RETVAL);
1810 1 0 }); }
1817 0 1 if (items != 1)
1822 1 0 MyChildSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1 MyChildSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyChildSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyChildSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1832 1 0 }); }
1845 0 2 virtual ~_MyStatic () {}
0 2 virtual ~_MyStatic () {}
1848 0 1 class _MyStaticChild : public _MyStatic {
0 1 class _MyStaticChild : public _MyStatic {
1860 0 0 static std::string package () { return "MyTest::PTRMyStatic"; }
1864 0 0 static std::string package () { return "MyTest::PTRMyStaticChild"; }
1868 0 0 static std::string package () { return "MyTest::MyStatic"; }
1872 0 0 static std::string package () { return "MyTest::MyStaticChild"; }
1880 0 1 if (items != 2)
1886 1 0 int arg = (int)SvIV(ST(1))
0 0 int arg = (int)SvIV(ST(1))
1896 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1897 1 0 RETVALSV = sv_2mortal(RETVALSV);
1902 1 0 }); }
1909 4 0 if (items < 1 || items > 2)
0 4 if (items < 1 || items > 2)
1913 4 0 dXSTARG;
0 0 dXSTARG;
1914 4 0 PTRMyStatic* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2 2 PTRMyStatic* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2 0 PTRMyStatic* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2 0 PTRMyStatic* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1918 2 0 if (items < 2)
1928 0 2 XSprePUSH; PUSHi((IV)RETVAL);
2 0 XSprePUSH; PUSHi((IV)RETVAL);
1931 2 0 }); }
1938 0 2 if (items != 1)
1943 2 0 PTRMyStatic* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 PTRMyStatic* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyStatic* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 PTRMyStatic* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1951 2 0 }); }
1958 0 1 if (items != 3)
1964 1 0 int arg1 = (int)SvIV(ST(1))
0 0 int arg1 = (int)SvIV(ST(1))
1966 1 0 int arg2 = (int)SvIV(ST(2))
0 0 int arg2 = (int)SvIV(ST(2))
1976 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
1977 1 0 RETVALSV = sv_2mortal(RETVALSV);
1982 1 0 }); }
1989 2 0 if (items < 1 || items > 2)
0 2 if (items < 1 || items > 2)
1993 2 0 dXSTARG;
0 0 dXSTARG;
1994 2 0 PTRMyStaticChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 1 PTRMyStaticChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 PTRMyStaticChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 PTRMyStaticChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1998 1 0 if (items < 2)
2008 0 1 XSprePUSH; PUSHi((IV)RETVAL);
1 0 XSprePUSH; PUSHi((IV)RETVAL);
2011 1 0 }); }
2018 0 1 if (items != 2)
2024 1 0 int arg = (int)SvIV(ST(1))
0 0 int arg = (int)SvIV(ST(1))
2034 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
2035 1 0 RETVALSV = sv_2mortal(RETVALSV);
2040 1 0 }); }
2047 4 0 if (items < 1 || items > 2)
0 4 if (items < 1 || items > 2)
2051 4 0 dXSTARG;
0 0 dXSTARG;
2052 4 0 MyStatic* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2 2 MyStatic* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2 0 MyStatic* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2 0 MyStatic* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2056 2 0 if (items < 2)
2066 2 0 XSprePUSH; PUSHi((IV)RETVAL);
0 0 XSprePUSH; PUSHi((IV)RETVAL);
2069 2 0 }); }
2076 0 2 if (items != 1)
2081 2 0 MyStatic* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 MyStatic* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyStatic* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyStatic* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2089 2 0 }); }
2096 0 1 if (items != 3)
2102 1 0 int arg1 = (int)SvIV(ST(1))
0 0 int arg1 = (int)SvIV(ST(1))
2104 1 0 int arg2 = (int)SvIV(ST(2))
0 0 int arg2 = (int)SvIV(ST(2))
2114 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
2115 1 0 RETVALSV = sv_2mortal(RETVALSV);
2120 1 0 }); }
2127 2 0 if (items < 1 || items > 2)
0 2 if (items < 1 || items > 2)
2131 2 0 dXSTARG;
0 0 dXSTARG;
2132 2 0 MyStaticChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 1 MyStaticChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 MyStaticChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 MyStaticChild* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2136 1 0 if (items < 2)
2146 1 0 XSprePUSH; PUSHi((IV)RETVAL);
0 0 XSprePUSH; PUSHi((IV)RETVAL);
2149 1 0 }); }
2164 0 0 return new BRUnit(id);
2170 0 8 }
2177 0 0 return new BRUnitEnabled(this->id);
2180 0 6 ~BRUnitEnabled () { Backref::dtor(); }
2188 0 0 void set_unit_with_id (int id) { unit = new BRUnit(id); }
2189 0 0 void set_unit_with_id2 (int id) { unit = new BRUnitEnabled(id); }
2194 0 4 }
2198 0 0 BRStorage* ret = new BRStorage();
2207 2 0 static std::string package () { return "MyTest::BRUnit"; }
2212 0 0 static std::string package () { return "MyTest::BRStorage"; }
2221 0 2 if (items != 2)
2227 2 0 int id = (int)SvIV(ST(1))
0 0 int id = (int)SvIV(ST(1))
2236 2 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
2237 2 0 RETVALSV = sv_2mortal(RETVALSV);
2242 2 0 }); }
2249 0 7 if (items != 2)
2255 7 0 int id = (int)SvIV(ST(1))
0 0 int id = (int)SvIV(ST(1))
2264 7 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
2265 7 0 RETVALSV = sv_2mortal(RETVALSV);
2270 7 0 }); }
2277 0 1 if (items != 1)
2282 0 1 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2290 1 0 }); }
2297 0 0 if (items != 1)
2301 0 0 dXSTARG;
0 0 dXSTARG;
2302 0 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2309 0 0 XSprePUSH; PUSHu((UV)RETVAL);
0 0 XSprePUSH; PUSHu((UV)RETVAL);
2312 0 0 }); }
2319 0 0 if (items != 1)
2323 0 0 dXSTARG;
0 0 dXSTARG;
2324 0 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2329 0 0 XSprePUSH; PUSHi((IV)RETVAL);
0 0 XSprePUSH; PUSHi((IV)RETVAL);
2332 0 0 }); }
2339 0 0 if (items != 1)
2343 0 0 dXSTARG;
0 0 dXSTARG;
2344 0 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2352 0 0 XSprePUSH; PUSHi((IV)RETVAL);
0 0 XSprePUSH; PUSHi((IV)RETVAL);
2355 0 0 }); }
2362 10 0 if (items < 1 || items > 2)
0 10 if (items < 1 || items > 2)
2366 10 0 dXSTARG;
0 0 dXSTARG;
2367 10 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 10 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2371 10 0 if (items < 2)
2381 6 4 XSprePUSH; PUSHi((IV)RETVAL);
4 0 XSprePUSH; PUSHi((IV)RETVAL);
2384 10 0 }); }
2391 0 11 if (items != 1)
2396 11 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 11 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRUnit* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2406 11 0 }); }
2413 0 4 if (items != 1)
2426 4 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
2427 4 0 RETVALSV = sv_2mortal(RETVALSV);
2432 4 0 }); }
2439 21 0 if (items < 1 || items > 2)
0 21 if (items < 1 || items > 2)
2443 21 0 BRStorage* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 21 BRStorage* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRStorage* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRStorage* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2447 9 12 if (items < 2)
2450 12 0 unit = xs::in(ST(1));
2463 9 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
2464 9 0 RETVALSV = sv_2mortal(RETVALSV);
2465 9 12 ST(0) = RETVALSV;
2469 21 0 }); }
2477 0 0 if (items != 2)
2482 0 0 BRStorage* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRStorage* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRStorage* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2484 0 0 int id = (int)SvIV(ST(1))
2493 0 0 }); }
2500 0 4 if (items != 1)
2505 4 0 BRStorage* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 4 BRStorage* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRStorage* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 BRStorage* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2515 4 0 }); }
2527 0 2 virtual ~MyOther () { dcnt.c++; }
2531 1 0 static std::string package () { return "MyTest::MyOther"; }
2539 0 3 if (items != 3)
2545 3 0 int arg1 = (int)SvIV(ST(1))
0 0 int arg1 = (int)SvIV(ST(1))
2547 3 0 int arg2 = (int)SvIV(ST(2))
0 0 int arg2 = (int)SvIV(ST(2))
2558 2 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
2559 2 0 RETVALSV = sv_2mortal(RETVALSV);
2560 2 1 ST(0) = RETVALSV;
2564 3 0 }); }
2571 4 0 if (items < 1 || items > 2)
0 4 if (items < 1 || items > 2)
2575 4 0 dXSTARG;
0 0 dXSTARG;
2576 4 0 MyOther* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 4 MyOther* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyOther* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyOther* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2580 4 0 if (items < 2)
2590 0 4 XSprePUSH; PUSHi((IV)RETVAL);
4 0 XSprePUSH; PUSHi((IV)RETVAL);
2593 4 0 }); }
2600 0 3 if (items != 2)
2605 3 0 MyOther* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 3 MyOther* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyOther* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyOther* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2607 2 1 MyOther* other = xs::in(ST(1));
2616 2 0 }); }
2623 0 2 if (items != 1)
2628 2 0 MyOther* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 MyOther* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyOther* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyOther* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2638 2 0 }); }
2650 0 4 virtual ~MixBase () { dcnt.c++; }
2656 0 3 virtual ~MixPluginA () { dcnt.c++; }
2662 0 4 virtual ~MixPluginB () { dcnt.c++; }
2667 0 0 static std::string package () { return "MyTest::MixBase"; }
2671 1 0 static std::string package () { return "MyTest::MixPluginA"; }
2675 2 0 static std::string package () { return "MyTest::MixPluginB"; }
2683 0 5 if (items != 2)
2689 5 0 int arg = (int)SvIV(ST(1))
0 0 int arg = (int)SvIV(ST(1))
2699 4 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
2700 4 0 RETVALSV = sv_2mortal(RETVALSV);
2701 4 1 ST(0) = RETVALSV;
2705 5 0 }); }
2712 5 0 if (items < 1 || items > 2)
0 5 if (items < 1 || items > 2)
2716 5 0 dXSTARG;
0 0 dXSTARG;
2717 5 0 MixBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 5 MixBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MixBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MixBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2721 4 1 if (items < 2)
2731 0 5 XSprePUSH; PUSHi((IV)RETVAL);
5 0 XSprePUSH; PUSHi((IV)RETVAL);
2734 5 0 }); }
2741 0 2 if (items != 2)
2746 0 2 MixBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MixBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MixBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2756 2 0 }); }
2763 0 4 if (items != 1)
2768 4 0 MixBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 4 MixBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MixBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MixBase* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2778 4 0 }); }
2785 0 0 if (items != 1)
2789 0 0 dXSTARG;
0 0 dXSTARG;
2793 0 0 XSprePUSH; PUSHi((IV)RETVAL);
0 0 XSprePUSH; PUSHi((IV)RETVAL);
2796 0 0 }); }
2803 0 4 if (items < 1)
2818 3 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
2819 3 0 RETVALSV = sv_2mortal(RETVALSV);
2820 3 1 ST(0) = RETVALSV;
2824 4 0 }); }
2831 6 0 if (items < 1 || items > 2)
0 6 if (items < 1 || items > 2)
2835 6 0 dXSTARG;
0 0 dXSTARG;
2836 6 0 MixPluginA* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 6 MixPluginA* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MixPluginA* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MixPluginA* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2840 4 2 if (items < 2)
2850 0 6 XSprePUSH; PUSHi((IV)RETVAL);
6 0 XSprePUSH; PUSHi((IV)RETVAL);
2853 6 0 }); }
2860 0 3 if (items != 2)
2865 0 3 MixPluginA* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MixPluginA* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MixPluginA* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2876 2 0 }); }
2883 0 3 if (items != 1)
2888 3 0 MixPluginA* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 3 MixPluginA* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MixPluginA* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MixPluginA* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2898 3 0 }); }
2905 0 5 if (items < 1)
2920 4 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
2921 4 0 RETVALSV = sv_2mortal(RETVALSV);
2922 4 1 ST(0) = RETVALSV;
2926 5 0 }); }
2933 6 0 if (items < 1 || items > 2)
0 6 if (items < 1 || items > 2)
2937 6 0 dXSTARG;
0 0 dXSTARG;
2938 6 0 MixPluginB* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 6 MixPluginB* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MixPluginB* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MixPluginB* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2942 4 2 if (items < 2)
2952 0 6 XSprePUSH; PUSHi((IV)RETVAL);
6 0 XSprePUSH; PUSHi((IV)RETVAL);
2955 6 0 }); }
2962 0 5 if (items != 2)
2967 0 5 MixPluginB* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MixPluginB* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MixPluginB* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
2978 2 0 }); }
2985 0 4 if (items != 1)
2990 4 0 MixPluginB* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 4 MixPluginB* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MixPluginB* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MixPluginB* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
3000 4 0 }); }
3012 2 0 static std::string package () { return "MyTest::MyBaseAV"; }
3015 2 0 static std::string package () { return "MyTest::MyBaseHV"; }
3023 0 2 if (items != 2)
3027 2 0 int arg = (int)SvIV(ST(1))
0 0 int arg = (int)SvIV(ST(1))
3037 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
3038 1 0 RETVALSV = sv_2mortal(RETVALSV);
3039 1 1 ST(0) = RETVALSV;
3043 2 0 }); }
3050 0 1 if (items != 1)
3054 1 0 dXSTARG;
0 0 dXSTARG;
3055 1 0 MyBaseAV* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1 MyBaseAV* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyBaseAV* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyBaseAV* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
3060 0 1 XSprePUSH; PUSHi((IV)RETVAL);
1 0 XSprePUSH; PUSHi((IV)RETVAL);
3063 1 0 }); }
3070 0 1 if (items != 1)
3075 1 0 MyBaseAV* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1 MyBaseAV* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyBaseAV* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyBaseAV* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
3084 1 0 }); }
3091 0 2 if (items != 2)
3095 2 0 int arg = (int)SvIV(ST(1))
0 0 int arg = (int)SvIV(ST(1))
3105 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
3106 1 0 RETVALSV = sv_2mortal(RETVALSV);
3107 1 1 ST(0) = RETVALSV;
3111 2 0 }); }
3118 0 1 if (items != 1)
3122 1 0 dXSTARG;
0 0 dXSTARG;
3123 1 0 MyBaseHV* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1 MyBaseHV* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyBaseHV* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyBaseHV* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
3128 0 1 XSprePUSH; PUSHi((IV)RETVAL);
1 0 XSprePUSH; PUSHi((IV)RETVAL);
3131 1 0 }); }
3138 0 1 if (items != 1)
3143 1 0 MyBaseHV* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1 MyBaseHV* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyBaseHV* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyBaseHV* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
3152 1 0 }); }
3164 0 0 virtual ~MyThreadSafe () { dcnt.c++; }
0 0 virtual ~MyThreadSafe () { dcnt.c++; }
3168 0 0 static std::string package () { return "MyTest::MyThreadSafe"; }
3177 0 0 if (items != 2)
3183 0 0 int arg = (int)SvIV(ST(1))
0 0 int arg = (int)SvIV(ST(1))
3192 0 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
3193 0 0 RETVALSV = sv_2mortal(RETVALSV);
3198 0 0 }); }
3205 0 0 if (items < 1 || items > 2)
0 0 if (items < 1 || items > 2)
3209 0 0 dXSTARG;
0 0 dXSTARG;
3210 0 0 MyThreadSafe* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyThreadSafe* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyThreadSafe* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyThreadSafe* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
3214 0 0 if (items < 2)
3224 0 0 XSprePUSH; PUSHi((IV)RETVAL);
0 0 XSprePUSH; PUSHi((IV)RETVAL);
3227 0 0 }); }
3234 0 0 if (items != 1)
3239 0 0 MyThreadSafe* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyThreadSafe* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyThreadSafe* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyThreadSafe* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
3248 0 0 }); }
3259 0 34 virtual ~MyForeign () { dcnt.c++; }
3264 2 0 static std::string package () { return "MyTest::MyForeign"; }
3272 0 1 if (items != 1)
3282 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
3283 1 0 RETVALSV = sv_2mortal(RETVALSV);
3288 1 0 }); }
3295 4 0 if (items < 1 || items > 2)
0 4 if (items < 1 || items > 2)
3299 4 0 dXSTARG;
0 0 dXSTARG;
3300 4 0 MyForeign* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 3 MyForeign* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 MyForeign* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1 0 MyForeign* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
3304 2 1 if (items < 2)
3314 0 3 XSprePUSH; PUSHi((IV)RETVAL);
3 0 XSprePUSH; PUSHi((IV)RETVAL);
3317 3 0 }); }
3324 0 1 if (items != 1)
3329 1 0 MyForeign* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1 MyForeign* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyForeign* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 MyForeign* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
3338 1 0 }); }
3350 1 0 static std::string package () { return "MyTest::ObjectA"; }
3354 1 0 static std::string package () { return "MyTest::ObjectB"; }
3362 0 1 if (items != 1)
3375 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
3376 1 0 RETVALSV = sv_2mortal(RETVALSV);
3381 1 0 }); }
3388 0 1 if (items != 1)
3399 0 0 ST(0) = boolSV(RETVAL);
3402 0 0 }); }
3409 0 1 if (items != 1)
3422 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
3423 1 0 RETVALSV = sv_2mortal(RETVALSV);
3428 1 0 }); }
3435 0 1 if (items != 1)
3446 0 0 ST(0) = boolSV(RETVAL);
3449 0 0 }); }
3463 0 34 dVAR; dXSBOOTARGSXSAPIVERCHK;
0 34 dVAR; dXSBOOTARGSXSAPIVERCHK;
3676 34 0 }); }
34 0 }); }
34 0 }); }