| 112 | } |
| 113 | |
| 114 | HX_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 | |
| 125 | void *NewGCBytes(void *inData,int inSize) |
| 126 | { |
no test coverage detected