| 813 | } |
| 814 | |
| 815 | txHostHooks* fxGetHostHooks(txMachine* the, txSlot* slot) |
| 816 | { |
| 817 | txSlot* host = fxCheckHostObject(the, slot); |
| 818 | if (host) { |
| 819 | if (host->flag & XS_HOST_HOOKS_FLAG) |
| 820 | return host->value.host.variant.hooks; |
| 821 | mxSyntaxError("C: xsGetHostHooks: no host hooks"); |
| 822 | } |
| 823 | mxSyntaxError("C: xsGetHostHooks: not a host object"); |
| 824 | return NULL; |
| 825 | } |
| 826 | |
| 827 | txHostHooks* fxGetHostHooksIf(txMachine* the, txSlot* slot) |
| 828 | { |
no test coverage detected