| 905 | } |
| 906 | |
| 907 | void fxSetHostData(txMachine* the, txSlot* slot, void* theData) |
| 908 | { |
| 909 | txSlot* host = fxCheckHostObject(the, slot); |
| 910 | if (host) { |
| 911 | host->flag &= ~XS_HOST_CHUNK_FLAG; |
| 912 | host->value.host.data = theData; |
| 913 | } |
| 914 | else |
| 915 | mxSyntaxError("C: xsSetHostData: not a host object"); |
| 916 | } |
| 917 | |
| 918 | void fxSetHostDestructor(txMachine* the, txSlot* slot, txDestructor theDestructor) |
| 919 | { |
no test coverage detected