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

◆ Alloc()

template<typename T>
static T * fl::PSRamAllocator< T >::Alloc ( fl::size n)
inlinestatic

Definition at line 120 of file allocator.h.

120 {
121 void *ptr = PSRamAllocate(sizeof(T) * n, true);
122 return fl::bit_cast_ptr<T>(ptr);
123 }
void * PSRamAllocate(fl::size size, bool zero)
To * bit_cast_ptr(void *storage) FL_NO_EXCEPT
Definition bit_cast.h:60

References fl::bit_cast_ptr(), fl::FL_NO_EXCEPT, and fl::PSRamAllocate().

Referenced by fl::LUT< u16 >::LUT(), fl::allocator_psram< U >::allocate(), and fl::RectangularDrawBuffer::onQueuingDone().

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