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

◆ Alloc()

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

Definition at line 44 of file allocator.h.

44 {
45 void *ptr = PSRamAllocate(sizeof(T) * n, true);
47 }
To * bit_cast_ptr(void *storage) noexcept
Definition bit_cast.h:54
void * PSRamAllocate(fl::size size, bool zero)
Definition allocator.cpp:77

References fl::bit_cast_ptr(), 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: