| 754 | } |
| 755 | |
| 756 | void* fxGetHostData(txMachine* the, txSlot* slot) |
| 757 | { |
| 758 | txSlot* host = fxCheckHostObject(the, slot); |
| 759 | if (host) { |
| 760 | if (!(host->flag & XS_HOST_CHUNK_FLAG)) |
| 761 | return host->value.host.data; |
| 762 | mxSyntaxError("C: xsGetHostData: no host data"); |
| 763 | } |
| 764 | mxSyntaxError("C: xsGetHostData: not a host object"); |
| 765 | return NULL; |
| 766 | } |
| 767 | |
| 768 | void* fxGetHostDataIf(txMachine* the, txSlot* slot) |
| 769 | { |
no test coverage detected