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

Method nativeRunFloat

src/hx/cppia/ArrayBuiltin.cpp:185–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183 }
184
185 static void * SLJIT_CALL nativeRunFloat(JitMultiArg *args)
186 {
187 Array_obj<ELEM> *thisVal = reinterpret_cast<Array_obj<ELEM> *>(args[0].obj);
188 ELEM &elem = thisVal->Item( args[1].ival );
189 FUNC::apply(elem, args[2].dval);
190 #ifdef HXCPP_GC_GENERATIONAL
191 if (hx::ContainsPointers<ELEM>())
192 HX_OBJ_WB_GET(thisVal,hx::PointerOf(elem));
193 #endif
194 return &elem;
195 }
196
197 static void * SLJIT_CALL nativeRunObject(JitMultiArg *args)
198 {

Callers

nothing calls this directly

Calls 1

PointerOfFunction · 0.85

Tested by

no test coverage detected