| 717 | } |
| 718 | |
| 719 | void* fxGetHostChunk(txMachine* the, txSlot* slot) |
| 720 | { |
| 721 | txSlot* host = fxCheckHostObject(the, slot); |
| 722 | if (host) { |
| 723 | if (host->flag & XS_HOST_CHUNK_FLAG) |
| 724 | return host->value.host.data; |
| 725 | mxSyntaxError("C: xsGetHostChunk: no host data"); |
| 726 | } |
| 727 | mxSyntaxError("C: xsGetHostChunk: not a host object"); |
| 728 | return NULL; |
| 729 | } |
| 730 | |
| 731 | void* fxGetHostChunkIf(txMachine* the, txSlot* slot) |
| 732 | { |
no test coverage detected