Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ custom_malloc
Function
custom_malloc
tests/fl/fx/frame.cpp:19–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
int allocation_count = 0;
18
19
void* custom_malloc(size_t size) {
20
allocation_count++;
21
return ::malloc(size);
22
}
23
24
void custom_free(void* ptr) {
25
allocation_count--;
Callers
nothing calls this directly
Calls
1
malloc
Function · 0.50
Tested by
no test coverage detected