FastLED 3.9.15
Loading...
Searching...
No Matches
cstddef.h
Go to the documentation of this file.
1#pragma once
2
3
4#ifdef FASTLED_TESTING
5#include <cstddef> // ok include
6#endif
7
8namespace fl {
9
10// FastLED equivalent of std::nullptr_t
11typedef decltype(nullptr) nullptr_t;
12
13// FastLED equivalent of std::size_t and std::ptrdiff_t
14// These are defined here for completeness but may already exist elsewhere
15#ifndef FL_SIZE_T_DEFINED
16#define FL_SIZE_T_DEFINED
17typedef __SIZE_TYPE__ size_t;
18#endif
19
20#ifndef FL_PTRDIFF_T_DEFINED
21#define FL_PTRDIFF_T_DEFINED
22typedef __PTRDIFF_TYPE__ ptrdiff_t;
23#endif
24
25} // namespace fl
__PTRDIFF_TYPE__ ptrdiff_t
Definition cstddef.h:22
decltype(nullptr) nullptr_t
Definition cstddef.h:11
__SIZE_TYPE__ size_t
Definition cstddef.h:17
IMPORTANT!
Definition crgb.h:20