MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxGetHostHandle

Function fxGetHostHandle

xs/sources/xsAPI.c:805–813  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

803}
804
805void* fxGetHostHandle(txMachine* the, txSlot* slot)
806{
807 txSlot* host = fxCheckHostObject(the, slot);
808 if (host) {
809 return &host->value.host.data;
810 }
811 mxSyntaxError("C: xsGetHostData: not a host object");
812 return NULL;
813}
814
815txHostHooks* fxGetHostHooks(txMachine* the, txSlot* slot)
816{

Callers

nothing calls this directly

Calls 1

fxCheckHostObjectFunction · 0.85

Tested by

no test coverage detected