FastLED 3.10.6
Loading...
Searching...
No Matches

◆ allocate_at_least()

template<typename T>
allocation_result< pointer, size_type > fl::allocator_psram< T >::allocate_at_least ( fl::size n)
inline

Definition at line 441 of file allocator.h.

441 {
442 if (n == 0) {
443 return {nullptr, 0};
444 }
445 // Default: just allocate exactly what's requested
446 return {allocate(n), n};
447 }
T * allocate(fl::size n) FL_NO_EXCEPT
Definition allocator.h:416