MCPcopy Create free account
hub / github.com/FastLED/FastLED / deallocate

Method deallocate

src/fl/stl/allocator.h:764–768  ·  view source on GitHub ↗

Deallocate memory for n objects of type T

Source from the content-addressed store, hash-verified

762
763 // Deallocate memory for n objects of type T
764 void deallocate(T* p, fl::size n) FL_NOEXCEPT {
765 // Use the same static allocator instance
766 SlabAllocator<T, SLAB_SIZE>& allocator = get_allocator();
767 allocator.deallocate(p, n);
768 }
769
770 // Construct an object at the specified address
771 template <typename U, typename... Args>

Callers

nothing calls this directly

Calls 1

deallocateMethod · 0.45

Tested by

no test coverage detected