FastLED 3.10.8
Loading...
Searching...
No Matches

◆ reset() [1/2]

FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_NULL_DEREFERENCE void fl::bitset_dynamic::reset ( )
inline

Definition at line 171 of file bitset_dynamic.h.

171 {
172 if (_blocks && _block_count > 0) {
173 fl::memset(_blocks.get(), 0, _block_count * sizeof(block_type));
174 }
175 }
fl::unique_ptr< block_type[]> _blocks
FASTLED_FORCE_INLINE void * memset(void *s, int c, size_t n) FL_NO_EXCEPT
Definition cstring.h:148

References _block_count, _blocks, fl::FL_NO_EXCEPT, and fl::memset().

Referenced by assign(), and set().

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