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

Function size

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

Source from the content-addressed store, hash-verified

346 int __GetType() const HXCPP_OVERRIDE { return vtArray; }
347
348 inline size_t size() const { checkBase(); return store==hx::arrayEmpty ? 0 : base->length; }
349 inline int __length() const HXCPP_OVERRIDE { checkBase(); return store==hx::arrayEmpty ? 0 : (int)base->length; }
350
351 String ItemString(int inI) { checkBase(); return store==hx::arrayEmpty ? null() : base->ItemString(inI); }

Callers 1

toStringMethod · 0.50

Calls 1

checkBaseFunction · 0.85

Tested by

no test coverage detected