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

Function NewString

src/hx/gc/GcCommon.cpp:114–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114HX_CHAR *NewString(int inLen)
115{
116 char *result = (char *)hx::InternalNew( (inLen+1)*sizeof(char), false );
117 result[inLen] = '\0';
118#ifdef HXCPP_TELEMETRY
119 __hxt_new_string(result, inLen+1);
120#endif
121 return result;
122
123}
124
125void *NewGCBytes(void *inData,int inSize)
126{

Callers 11

GCStringDupFunction · 0.85
TCopyStringFunction · 0.85
__URLEncodeMethod · 0.85
toUpperCaseMethod · 0.85
toLowerCaseMethod · 0.85
__URLDecodeMethod · 0.85
operator+Method · 0.85
String.cppFile · 0.85
joinArrayMethod · 0.85
asn1_buf_to_stringFunction · 0.85

Calls 2

InternalNewFunction · 0.85
__hxt_new_stringFunction · 0.50

Tested by

no test coverage detected