FastLED 3.9.15
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

◆ Alloc()

template<typename T>
static T * fl::LargeBlockAllocator< T >::Alloc ( size_t n)
inlinestatic

Definition at line 15 of file allocator.h.

15 {
16 void *ptr = LargeBlockAllocate(sizeof(T) * n, true);
17 return reinterpret_cast<T *>(ptr);
18 }
void * LargeBlockAllocate(size_t size, bool zero)
Definition allocator.cpp:41

References fl::LargeBlockAllocate().

Referenced by fl::LUT< uint16_t >::LUT(), and fl::RectangularDrawBuffer::onQueuingDone().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: