| 169 | |
| 170 | #ifndef HXCPP_JS_PRIME |
| 171 | HxString::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 |
nothing calls this directly
no test coverage detected