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 397 of file allocator.h.

397 {
398 fl::size count = 0;
399 for (Slab* slab = slabs_; slab; slab = slab->next) {
400 ++count;
401 }
402 return count;
403 }

References slabs_.