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

Method HxString

include/hx/CFFIPrime.h:171–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169
170#ifndef HXCPP_JS_PRIME
171HxString::HxString(const char *inS,int inLen, bool inAllocGcString) : length(inLen), __s(inS)
172{
173 if (!inS)
174 length = 0;
175 else
176 {
177 if (length<0)
178 for(length=0; __s[length]; length++)
179 {
180 }
181 if (inAllocGcString)
182 __s = alloc_string_data(__s, length);
183 }
184}
185#endif
186
187

Callers

nothing calls this directly

Calls 1

alloc_string_dataFunction · 0.85

Tested by

no test coverage detected