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

Method arrayElem

include/cpp/Pointer.h:496–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

494public:
495 template<typename T>
496 inline static AutoCast arrayElem(::Array<T> array, int inIndex) { return AutoCast(&array[inIndex]); }
497 inline static AutoCast arrayElem(Dynamic inVal, int inIndex)
498 {
499 if (inVal==null() || !inVal->__IsArray())

Callers

nothing calls this directly

Calls 3

AutoCastClass · 0.85
GetPtrMethod · 0.80
nullClass · 0.50

Tested by

no test coverage detected