MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / _hx_getInterface

Method _hx_getInterface

src/hx/cppia/CppiaClasses.cpp:1875–1883  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1873}
1874
1875void *hx::Object::_hx_getInterface(int inId)
1876{
1877 void **vtable = __GetScriptVTable();
1878 if (!vtable)
1879 return 0;
1880 CppiaClassInfo *info = ((CppiaClassInfo *)vtable[-1]);
1881 void *result = info->interfaceScriptTables[inId];
1882 return info->interfaceScriptTables[inId];
1883}
1884
1885
1886} // end namespace hx

Callers

nothing calls this directly

Calls 1

__GetScriptVTableFunction · 0.85

Tested by

no test coverage detected