| 754 | } |
| 755 | |
| 756 | void Piu__jsx__(xsMachine* the) |
| 757 | { |
| 758 | xsIntegerValue c = xsToInteger(xsArgc), i; |
| 759 | xsVars(3); |
| 760 | if (xsTest(xsArg(1))) { |
| 761 | xsVar(0) = xsArg(1); |
| 762 | xsVar(1) = xsGet(xsArg(1), xsID_data); |
| 763 | } |
| 764 | else |
| 765 | xsVar(0) = xsNewObject(); |
| 766 | c -= 2; |
| 767 | if (c > 0) { |
| 768 | xsVar(2) = xsNewArray(c); |
| 769 | for (i = 0; i < c; i++) |
| 770 | xsSetAt(xsVar(2), xsInteger(i), xsArg(2 + i)); |
| 771 | xsSet(xsVar(0), xsID_contents, xsVar(2)); |
| 772 | } |
| 773 | xsOverflow(-XS_FRAME_COUNT-2); |
| 774 | fxPush(xsArg(0)); |
| 775 | fxNew(the); |
| 776 | fxPush(xsVar(1)); |
| 777 | fxPush(xsVar(0)); |
| 778 | fxRunCount(the, 2); |
| 779 | xsResult = fxPop(); |
| 780 | } |
| 781 |
nothing calls this directly
no test coverage detected