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

Method nativeRunObject

src/hx/cppia/ArrayBuiltin.cpp:197–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195 }
196
197 static void * SLJIT_CALL nativeRunObject(JitMultiArg *args)
198 {
199 Array_obj<ELEM> *thisVal = reinterpret_cast<Array_obj<ELEM> *>(args[0].obj);
200 ELEM &elem = thisVal->Item( args[1].ival );
201 Dynamic obj(args[2].obj);
202 FUNC::apply(elem, obj);
203 #ifdef HXCPP_GC_GENERATIONAL
204 if (hx::ContainsPointers<ELEM>())
205 HX_OBJ_WB_GET(thisVal,hx::PointerOf(elem));
206 #endif
207 return &elem;
208 }
209
210 static void * SLJIT_CALL nativeRunString(JitMultiArg *args)
211 {

Callers

nothing calls this directly

Calls 1

PointerOfFunction · 0.85

Tested by

no test coverage detected