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

Function __hxt_new_string

src/hx/Telemetry.cpp:618–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

616
617
618void __hxt_new_string(void* obj, int inSize)
619{
620 #ifdef HXCPP_STACK_TRACE
621 hx::StackContext *stack = hx::StackContext::getCurrent();
622 if (stack->mTelemetry)
623 stack->mTelemetry->HXTAllocation(obj, inSize, (const char *)"String");
624 #endif
625}
626void __hxt_new_array(void* obj, int inSize)
627{
628 #ifdef HXCPP_STACK_TRACE

Callers 1

NewStringFunction · 0.50

Calls 1

HXTAllocationMethod · 0.80

Tested by

no test coverage detected