| 770 | } |
| 771 | |
| 772 | xsBooleanValue fxFindBoolean(xsMachine* the, xsSlot* slot, xsIdentifier id, xsBooleanValue* value) |
| 773 | { |
| 774 | xsBooleanValue result; |
| 775 | xsOverflow(-1); |
| 776 | fxPush(*slot); |
| 777 | fxGetID(the, id); |
| 778 | if (fxTypeOf(the, the->stack) != xsUndefinedType) { |
| 779 | *value = fxToBoolean(the, the->stack); |
| 780 | result = 1; |
| 781 | } |
| 782 | else |
| 783 | result = 0; |
| 784 | the->stack++; |
| 785 | return result; |
| 786 | } |
| 787 | |
| 788 | xsBooleanValue fxFindInteger(xsMachine* the, xsSlot* slot, xsIdentifier id, xsIntegerValue* value) |
| 789 | { |
nothing calls this directly
no test coverage detected