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

Function __unsafeStringReference

include/Array.h:256–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254 void safeSort(DynamicSorterFunc sorter, bool isString);
255
256 inline void __unsafeStringReference(String inString)
257 {
258 mBase = (char *)inString.raw_ptr();
259 length = inString.length / GetElementSize();
260 mAlloc = length;
261 HX_OBJ_WB_PESSIMISTIC_GET(this);
262 }
263
264
265 virtual hx::ArrayStore getStoreType() const = 0;

Callers

nothing calls this directly

Calls 1

GetElementSizeFunction · 0.70

Tested by

no test coverage detected