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

◆ allocate()

template<typename T, fl::size SLAB_SIZE = FASTLED_DEFAULT_SLAB_SIZE>
T * fl::allocator_slab< T, SLAB_SIZE >::allocate ( fl::size n)
inline

Definition at line 473 of file allocator.h.

473 {
474 // Use a static allocator instance per type/size combination
476 return allocator.allocate(n);
477 }
T * allocate(fl::size n)
Definition allocator.h:473
static SlabAllocator< T, SLAB_SIZE > & get_allocator()
Definition allocator.h:466

References fl::allocator< T >::allocate(), and get_allocator().

+ Here is the call graph for this function: