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

Function __SetItem

include/Array.h:578–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576
577 Dynamic __GetItem(int inIndex) const HXCPP_OVERRIDE { return __get(inIndex); }
578 Dynamic __SetItem(int inIndex, Dynamic inValue) HXCPP_OVERRIDE
579 {
580 ELEM_ &elem = Item(inIndex);
581 elem = inValue;
582 if (hx::ContainsPointers<ELEM_>()) { HX_OBJ_WB_GET(this,hx::PointerOf(elem)); }
583 return inValue;
584 }
585
586 inline ELEM_ *Pointer() { return (ELEM_ *)mBase; }
587

Callers 4

__unsafe_setMethod · 0.85
____unsafe_setFunction · 0.85
initFunction · 0.85
__unsafe_setFunction · 0.85

Calls 1

PointerOfFunction · 0.85

Tested by

no test coverage detected