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

Function aligned_free

src/fl/stl/cstdlib.cpp.hpp:44–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void aligned_free(void *ptr) {
45#if defined(FL_IS_AVR) || defined(FL_IS_ESP8266) || defined(FL_IS_ARM) || defined(FL_IS_APOLLO3)
46 ::free(ptr);
47#elif defined(FL_IS_WIN)
48 ::_aligned_free(ptr);
49#else
50 ::free(ptr);
51#endif
52}
53
54// Helper function to check if a character is a digit in the given base
55static bool isDigitInBase(char c, int base) {

Callers 2

operator deleteFunction · 0.85
freeDmaBufferMethod · 0.85

Calls 1

freeFunction · 0.70

Tested by

no test coverage detected