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

Function set

include/Array.h:970–976  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

968 void __qsort(DynamicSorterFunc inCompare) HXCPP_OVERRIDE { this->qsort(inCompare); };
969
970 void set(int inIndex, const cpp::Variant &inValue) HXCPP_OVERRIDE {
971 ELEM_ &elem = Item(inIndex);
972 elem = ELEM_(inValue);
973 if (hx::ContainsPointers<ELEM_>()) {
974 HX_OBJ_WB_GET(this, hx::PointerOf(elem));
975 }
976 }
977 void setUnsafe(int inIndex, const cpp::Variant& inValue) HXCPP_OVERRIDE {
978 ELEM_ &elem = *(ELEM_ *)(mBase + inIndex*sizeof(ELEM_));
979 elem = ELEM_(inValue);

Callers 2

operator++Method · 0.85
operator--Method · 0.85

Calls 1

PointerOfFunction · 0.85

Tested by

no test coverage detected