QtBase
v6.3.1
|
#include "cbor.h"
#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <stdbool.h>
#include <arpa/inet.h>
Go to the source code of this file.
Macros | |
#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) |
#define __has_builtin | ( | x | ) | 0 |
Definition at line 92 of file compilersupport_p.h.
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.
Definition at line 52 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.
Definition at line 188 of file compilersupport_p.h.
#define STRINGIFY | ( | x | ) | STRINGIFY2(x) |
Definition at line 68 of file compilersupport_p.h.
Definition at line 70 of file compilersupport_p.h.
Definition at line 189 of file compilersupport_p.h.
Definition at line 190 of file compilersupport_p.h.