FastLED 3.9.15
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 440 of file allocator.h.

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