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

◆ getSlabCount()

template<typename T, fl::size SLAB_SIZE = FASTLED_DEFAULT_SLAB_SIZE>
fl::size fl::SlabAllocator< T, SLAB_SIZE >::getSlabCount ( ) const
inline

Definition at line 685 of file allocator.h.

685 {
686 fl::size count = 0;
687 for (Slab* slab = mSlabs; slab; slab = slab->next) {
688 ++count;
689 }
690 return count;
691 }

References fl::FL_NO_EXCEPT, and mSlabs.