| 766 | } |
| 767 | |
| 768 | void* fxGetHostDataIf(txMachine* the, txSlot* slot) |
| 769 | { |
| 770 | txSlot* host = fxCheckHostObject(the, slot); |
| 771 | if (host) { |
| 772 | if (!(host->flag & XS_HOST_CHUNK_FLAG)) |
| 773 | return host->value.host.data; |
| 774 | } |
| 775 | return NULL; |
| 776 | } |
| 777 | |
| 778 | void* fxGetHostDataValidate(txMachine* the, txSlot* slot, void* validator) |
| 779 | { |
no test coverage detected