| 786 | } |
| 787 | |
| 788 | xsBooleanValue fxFindInteger(xsMachine* the, xsSlot* slot, xsIdentifier id, xsIntegerValue* value) |
| 789 | { |
| 790 | xsBooleanValue result; |
| 791 | xsOverflow(-1); |
| 792 | fxPush(*slot); |
| 793 | fxGetID(the, id); |
| 794 | if (fxTypeOf(the, the->stack) != xsUndefinedType) { |
| 795 | *value = fxToInteger(the, the->stack); |
| 796 | result = 1; |
| 797 | } |
| 798 | else |
| 799 | result = 0; |
| 800 | the->stack++; |
| 801 | return result; |
| 802 | } |
| 803 | |
| 804 | xsBooleanValue fxFindNumber(xsMachine* the, xsSlot* slot, xsIdentifier id, xsNumberValue* value) |
| 805 | { |
nothing calls this directly
no test coverage detected