| 791 | } |
| 792 | |
| 793 | txDestructor fxGetHostDestructor(txMachine* the, txSlot* slot) |
| 794 | { |
| 795 | txSlot* host = fxCheckHostObject(the, slot); |
| 796 | if (host) { |
| 797 | if (!(host->flag & XS_HOST_HOOKS_FLAG)) |
| 798 | return host->value.host.variant.destructor; |
| 799 | mxSyntaxError("C: xsGetHostDestructor: no host destructor"); |
| 800 | } |
| 801 | mxSyntaxError("C: xsGetHostDestructor: not a host object"); |
| 802 | return NULL; |
| 803 | } |
| 804 | |
| 805 | void* fxGetHostHandle(txMachine* the, txSlot* slot) |
| 806 | { |
nothing calls this directly
no test coverage detected