Wirepas SDK
|
Go to the source code of this file.
Functions | |
static bool | add_check_overflow (size_t v1, size_t v2, size_t *r) |
Macros | |
#define | _BSD_SOURCE |
#define | _DEFAULT_SOURCE |
#define | cbor_static_assert(x) ((void)sizeof(char[2*!!(x) - 1])) |
#define | inline CBOR_INLINE |
#define | cbor_assert(cond) assert(cond) |
#define | STRINGIFY(x) STRINGIFY2(x) |
#define | STRINGIFY2(x) #x |
#define | DBL_DECIMAL_DIG 17 |
#define | DBL_DECIMAL_DIG_STR STRINGIFY(DBL_DECIMAL_DIG) |
#define | CBOR_INTERNAL_API_CC |
#define | __has_builtin(x) 0 |
#define | cbor_ntohs ntohs |
#define | cbor_htons htons |
#define | cbor_ntohl ntohl |
#define | cbor_htonl htonl |
#define | cbor_ntohll ntohll |
#define | cbor_htonll htonll |
#define | CONST_CAST(t, v) (t)(uintptr_t)(v) |
#define | likely(x) (x) |
#define | unlikely(x) (x) |
#define | unreachable() do {} while (0) |
|
static |
Definition at line 193 of file compilersupport_p.h.
#define __has_builtin | ( | x | ) | 0 |
Definition at line 92 of file compilersupport_p.h.
#define _BSD_SOURCE |
Definition at line 31 of file compilersupport_p.h.
#define _DEFAULT_SOURCE |
Definition at line 34 of file compilersupport_p.h.
#define cbor_assert | ( | cond | ) | assert(cond) |
Definition at line 64 of file compilersupport_p.h.
#define cbor_htonl htonl |
Definition at line 140 of file compilersupport_p.h.
#define cbor_htonll htonll |
Definition at line 144 of file compilersupport_p.h.
#define cbor_htons htons |
Definition at line 135 of file compilersupport_p.h.
#define CBOR_INTERNAL_API_CC |
Definition at line 88 of file compilersupport_p.h.
#define cbor_ntohl ntohl |
Definition at line 139 of file compilersupport_p.h.
#define cbor_ntohll ntohll |
Definition at line 143 of file compilersupport_p.h.
#define cbor_ntohs ntohs |
Definition at line 134 of file compilersupport_p.h.
#define cbor_static_assert | ( | x | ) | ((void)sizeof(char[2*!!(x) - 1])) |
Definition at line 52 of file compilersupport_p.h.
#define CONST_CAST | ( | t, | |
v | |||
) | (t)(uintptr_t)(v) |
Definition at line 172 of file compilersupport_p.h.
#define DBL_DECIMAL_DIG 17 |
Definition at line 79 of file compilersupport_p.h.
#define DBL_DECIMAL_DIG_STR STRINGIFY(DBL_DECIMAL_DIG) |
Definition at line 81 of file compilersupport_p.h.
#define inline CBOR_INLINE |
Definition at line 58 of file compilersupport_p.h.
#define likely | ( | x | ) | (x) |
Definition at line 188 of file compilersupport_p.h.
#define STRINGIFY | ( | x | ) | STRINGIFY2(x) |
Definition at line 68 of file compilersupport_p.h.
#define STRINGIFY2 | ( | x | ) | #x |
Definition at line 70 of file compilersupport_p.h.
#define unlikely | ( | x | ) | (x) |
Definition at line 189 of file compilersupport_p.h.
#define unreachable | ( | ) | do {} while (0) |
Definition at line 190 of file compilersupport_p.h.