| 802 | } |
| 803 | |
| 804 | xsBooleanValue fxFindNumber(xsMachine* the, xsSlot* slot, xsIdentifier id, xsNumberValue* value) |
| 805 | { |
| 806 | xsBooleanValue result; |
| 807 | xsOverflow(-1); |
| 808 | fxPush(*slot); |
| 809 | fxGetID(the, id); |
| 810 | if (fxTypeOf(the, the->stack) != xsUndefinedType) { |
| 811 | *value = fxToNumber(the, the->stack); |
| 812 | result = 1; |
| 813 | } |
| 814 | else |
| 815 | result = 0; |
| 816 | the->stack++; |
| 817 | return result; |
| 818 | } |
| 819 | |
| 820 | xsBooleanValue fxFindString(xsMachine* the, xsSlot* slot, xsIdentifier id, xsStringValue* value) |
| 821 | { |
nothing calls this directly
no test coverage detected