MCPcopy Create free account
hub / github.com/beefytech/Beef / Free

Method Free

BeefRT/rt/Internal.cpp:519–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

517}
518
519void Internal::Free(void* ptr)
520{
521#if BF_USE_STOMP_ALLOC
522 StompFree(ptr);
523#elif BF_TRACK_SIZES
524 uint8* allocPtr = ((uint8*)ptr) - 16;
525 sAllocSizes[0] -= *((int*)allocPtr);
526 free(allocPtr);
527#else
528 free(ptr);
529#endif
530}
531
532BFRT_EXPORT int64 Internal::GetTickCountMicro()
533{

Callers 1

CeFreeMethod · 0.45

Calls 2

StompFreeFunction · 0.70
freeFunction · 0.50

Tested by

no test coverage detected