| 927 | } |
| 928 | |
| 929 | void fxSetHostHooks(txMachine* the, txSlot* slot, const txHostHooks* theHooks) |
| 930 | { |
| 931 | txSlot* host = fxCheckHostObject(the, slot); |
| 932 | if (host) { |
| 933 | host->flag |= XS_HOST_HOOKS_FLAG; |
| 934 | host->value.host.variant.hooks = (txHostHooks *) theHooks; |
| 935 | } |
| 936 | else |
| 937 | mxSyntaxError("C: xsSetHostHooks: not a host object"); |
| 938 | } |
| 939 | |
| 940 | /* Identifiers */ |
| 941 |
no test coverage detected