FastLED
3.9.15
Loading...
Searching...
No Matches
◆
Malloc()
void fl::Malloc
(
size_t
size
)
Definition at line
51
of file
allocator.cpp
.
51
{
52
void
*ptr = Alloc(size);
53
if
(ptr ==
nullptr
) {
54
// Handle allocation failure, e.g., log an error or throw an exception.
55
// For now, we just return without doing anything.
56
return
;
57
}
58
memset(ptr, 0, size);
// Zero-initialize the memory
59
60
}
fl
Generated on Thu Jun 5 2025 04:29:40 for FastLED by
1.13.2