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

Function ScriptableField

src/hx/cppia/CppiaClasses.cpp:1835–1839  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1833#endif
1834
1835bool ScriptableField(hx::Object *inObj, const ::String &inName,hx::PropertyAccess inCallProp,Dynamic &outResult)
1836{
1837 void **vtable = inObj->__GetScriptVTable();
1838 return ((CppiaClassInfo *)vtable[-1])->getField(inObj,inName,inCallProp,outResult);
1839}
1840
1841bool ScriptableField(hx::Object *inObj, int inName,hx::PropertyAccess inCallProp,Float &outResult)
1842{

Callers

nothing calls this directly

Calls 2

getFieldMethod · 0.80
__ToDoubleMethod · 0.45

Tested by

no test coverage detected