FastLED 3.9.15
Loading...
Searching...
No Matches

◆ Malloc()

void * fl::Malloc ( fl::size size)

Definition at line 110 of file allocator.cpp.

110 {
111 void* ptr = Alloc(size);
112
113#if defined(FASTLED_TESTING)
114 if (gMallocFreeHook && ptr) {
115 MemoryGuard allows_hook;
116 if (allows_hook.enabled()) {
117 gMallocFreeHook->onMalloc(ptr, size);
118 }
119 }
120#endif
121
122 return ptr;
123}

Referenced by fl::allocator< U >::allocate().

+ Here is the caller graph for this function: