MCPcopy Create free account
hub / github.com/FastLED/FastLED / ClearTrackingData

Function ClearTrackingData

tests/fl/stl/allocator.cpp:1245–1250  ·  view source on GitHub ↗

Helper function to clear tracking data

Source from the content-addressed store, hash-verified

1243
1244// Helper function to clear tracking data
1245static void ClearTrackingData() {
1246 gMallocCalls.clear();
1247 gMallocSizes.clear();
1248 gFreeCalls.clear();
1249 // fl::SetMallocFreeHook(nullptr);
1250}
1251
1252FL_TEST_CASE("Malloc/Free Test Hooks - Basic functionality") {
1253 // Clear any previous tracking data

Callers 1

FL_TEST_FILEFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected