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

Method nativeRunString

src/hx/cppia/ArrayBuiltin.cpp:210–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208 }
209
210 static void * SLJIT_CALL nativeRunString(JitMultiArg *args)
211 {
212 Array_obj<ELEM> *thisVal = reinterpret_cast<Array_obj<ELEM> *>(args[0].obj);
213 ELEM &elem = thisVal->Item( args[1].ival );
214 FUNC::apply(elem, (* ((String *)(&args[2].sval) )) );
215 #ifdef HXCPP_GC_GENERATIONAL
216 if (hx::ContainsPointers<ELEM>())
217 HX_OBJ_WB_GET(thisVal,hx::PointerOf(elem));
218 #endif
219 return &elem;
220 }
221
222
223 void genCode(CppiaCompiler *compiler, const JitVal &inDest, ExprType destType) HXCPP_OVERRIDE

Callers

nothing calls this directly

Calls 1

PointerOfFunction · 0.85

Tested by

no test coverage detected