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

Method runObject

src/hx/cppia/Cppia.cpp:1830–1844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1828 return val;
1829 }
1830 hx::Object *runObject(CppiaCtx *ctx) HXCPP_OVERRIDE
1831 {
1832 if (isBoolInt())
1833 {
1834 int val;
1835 run(ctx,val);
1836 return Dynamic( val!=0 ).mPtr;
1837 }
1838 else
1839 {
1840 Dynamic val;
1841 run(ctx,val);
1842 return val.mPtr;
1843 }
1844 }
1845
1846 #ifdef CPPIA_JIT
1847 static void SLJIT_CALL tryCallHaxe( void (SLJIT_CALL *func)(StackContext *), StackContext *ctx )

Callers

nothing calls this directly

Calls 2

runFunction · 0.85
DynamicClass · 0.50

Tested by

no test coverage detected