FastLED 3.9.15
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 672 of file allocator.h.

672 {
673 fl::size count = 0;
674 for (Slab* slab = mSlabs; slab; slab = slab->next) {
675 ++count;
676 }
677 return count;
678 }

References FL_NOEXCEPT, and mSlabs.