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

Method runObject

src/hx/cppia/Cppia.cpp:4943–4952  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4941 return this;
4942 }
4943 hx::Object *runObject(CppiaCtx *ctx) HXCPP_OVERRIDE
4944 {
4945 hx::Anon result = hx::Anon_obj::Create();
4946 for(int i=0;i<fieldCount;i++)
4947 {
4948 result->Add(data->strings[stringIds[i]], values[i]->runObject(ctx), false );
4949 BCR_CHECK;
4950 }
4951 return result.mPtr;
4952 }
4953
4954 #ifdef CPPIA_JIT
4955 static hx::Object * SLJIT_CALL createAnon()

Callers

nothing calls this directly

Calls 3

CreateFunction · 0.85
AddMethod · 0.45
runObjectMethod · 0.45

Tested by

no test coverage detected