P99
|
#include "p99_for.h"
Go to the source code of this file.
Macros | |
#define | P99_CONSTANT(T, NAME, INIT) register T const NAME = INIT |
define a compile time constant NAME of type T with value INIT More... | |
#define | P99_DECLARE_ENUM(T, ...) |
Declare a simple enumeration type. More... | |
#define | P99_DECLARE_ENUM_GETNAME(T, ...) |
Declare a simple inline function to return strings containing the names of enumeration constants. More... | |
#define | P99_DECLARE_ENUM_PARSE(T, ...) |
Declare a simple inline function to return the longest enumeration constants of type T found in a string. More... | |
#define | P99_DEFINE_ENUM(T) |
Define the necessary symbols for a simple enumeration type. More... | |
#define | P99_ENDIANNESS ((p99_endianness)P99_HTON(4, UINT32_C(0x01020304))) |
Return the platform endianness in terms of a value of type p99_endianness. More... | |
#define | P99_UNUSED(...) P99_SEP(P00_UNUSED, __VA_ARGS__) |
check if the list of expressions is syntactically valid but don't evaluate it More... | |
Typedefs | |
typedef enum p99_endianness | p99_endianness |
Classify platforms according to their endianness. More... | |
Enumerations | |
enum | p99_endianness { p99_big_endian = 0x01020304u, p99_little_endian = 0x04030201u, p99_pdp_endian = 0x02010403u } |
Classify platforms according to their endianness. More... | |
Functions | |
char const * | bool_getname (bool p00_x) |
char const * | p99_endianness_getname (p99_endianness p00_x) |
Get a string with the name of constant p00_x of type :: p99_endianness More... | |