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

Function init

include/cpp/VirtualArray.h:499–504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497
498 template<typename T>
499 inline VirtualArray init(int inIndex, const T &inVal)
500 {
501 if (store!=hx::arrayFixed) EnsureStorage(inVal);
502 __SetItem(inIndex,inVal);
503 return this;
504 }
505
506 inline Dynamic __unsafe_set(int inIndex, const Dynamic &val) { return __SetItem(inIndex,val); }
507 inline Dynamic __unsafe_get(int inIndex) { return __GetItem(inIndex); }

Callers

nothing calls this directly

Calls 2

EnsureStorageFunction · 0.85
__SetItemFunction · 0.85

Tested by

no test coverage detected