Skip to content

Commit

Permalink
add no-op gc alloc function to hxtelemetry implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidan63 committed Sep 10, 2024
1 parent 294b587 commit 539fc04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hx/Telemetry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,7 @@ void __hxt_new_hash(void* obj, int inSize)
stack->mTelemetry->HXTAllocation(obj, inSize, (const char *)"Hash");
#endif
}
void __hxt_gc_alloc(void* obj, int inSize) { }
void __hxt_gc_new(hx::StackContext *stack, void* obj, int inSize, const char* name)
{
#ifdef HXCPP_STACK_TRACE
Expand Down

0 comments on commit 539fc04

Please sign in to comment.