P99
Macros | Typedefs
p99_type.h File Reference
#include "p99_paste.h"
+ Include dependency graph for p99_type.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define P99_DECLARE_STRUCT(NAME)   typedef struct NAME NAME
 forward declaration of a struct NAME More...
 
#define P99_DECLARE_UNION(NAME)   typedef union NAME NAME
 forward declaration of a union NAME More...
 
#define P99_DEFINE_UNION(NAME, ...)
 definition of a union NAME More...
 
#define P99_DERIVED_TYPES(T)
 Declare trivial init and destroy functions for type T and its pointer derivatives. More...
 
#define P99_ENC(OBJ)   ((OBJ).p00_val)
 Access an encapsulated object. More...
 
#define P99_ENC_DECLARE(T, NAME)
 Encapsulate an object of type T in a new type called NAME. More...
 
#define P99_ENC_INIT(V)   { .p00_val = (V), }
 Initialize an encapsulated object. More...
 
#define P99_ENCP(OBJP)   ((OBJP)->p00_val)
 Access an encapsulated object through a pointer. More...
 
#define P99_EXT_ARITHMETIC_TYPES   P99_STD_ARITHMETIC_TYPES
 
#define P99_EXT_INTEGER_TYPES
 
#define P99_EXT_REAL_TYPES   P99_STD_REAL_TYPES
 
#define P99_PLAIN_TYPE(T)
 Declare trivial init and destroy functions for type T. More...
 
#define P99_POINTER_TYPE(T)
 Declare derived pointer types with endings "_ptr" and "_cptr". More...
 
#define P99_STD_ARITHMETIC_EXTS
 
#define P99_STD_ARITHMETIC_TYPES
 
#define P99_STD_BASIC_EXTS
 
#define P99_STD_BASIC_TYPES
 
#define P99_STD_CHARACTER_EXTS   c, hh, uhh
 
#define P99_STD_CHARACTER_TYPES
 
#define P99_STD_COMPLEX_EXTS   fc, dc, ldc
 
#define P99_STD_COMPLEX_TYPES
 
#define P99_STD_FLOATING_EXTS   P99_STD_REAL_FLOATING_EXTS, P99_STD_COMPLEX_EXTS
 
#define P99_STD_FLOATING_TYPES   P99_STD_REAL_FLOATING_TYPES, P99_STD_COMPLEX_TYPES
 
#define P99_STD_INTEGER_EXTS
 
#define P99_STD_INTEGER_TYPES
 
#define P99_STD_REAL_EXTS
 
#define P99_STD_REAL_FLOATING_EXTS   f, d, ld
 
#define P99_STD_REAL_FLOATING_TYPES
 
#define P99_STD_REAL_TYPES
 
#define P99_STD_SIGNED_EXTS   hh, h, i, l, ll
 
#define P99_STD_SIGNED_TYPES
 
#define P99_STD_UNSIGNED_EXTS   b, c, uhh, uh, u, ul, ull
 
#define P99_STD_UNSIGNED_TYPES
 

Typedefs

typedef int errno_t
 
void
void void
Definition: p99_bitset.h:84
P99_STD_INTEGER_TYPES
#define P99_STD_INTEGER_TYPES
Definition: p99_type.h:282
schar
signed char schar
a ‘one token’ abreviation for signed char
Definition: p99_typenames.h:45
P99_PASTE2
#define P99_PASTE2(_1, _2)
Paste two token sequences at their junction.
Definition: p99_paste.h:82
cfloat
float _Complex cfloat
a ‘one token’ abreviation for float _Complex
Definition: p99_typenames.h:51
P99_STD_SIGNED_EXTS
#define P99_STD_SIGNED_EXTS
Definition: p99_type.h:224
P99_STD_INTEGER_EXTS
#define P99_STD_INTEGER_EXTS
Definition: p99_type.h:286
P99_PLAIN_TYPE
#define P99_PLAIN_TYPE(T)
Declare trivial init and destroy functions for type T.
Definition: p99_type.h:142
P99_STD_SIGNED_TYPES
#define P99_STD_SIGNED_TYPES
Definition: p99_type.h:218
float
struct atomic_float float
Definition: p99_atomic.h:62