dcrud  0.0.0
Distributed data and services
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
types.h File Reference
#include <stdlib.h>
#include <stdint.h>
#include <inttypes.h>
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define false   0
 
#define true   (!false)
 
#define UTIL_CONCAT_(x, y)   x ## y
 
#define UTIL_CONCAT(x, y)   UTIL_CONCAT_(x,y)
 
#define UTIL_ADT(T)   typedef struct UTIL_CONCAT(T,_s) { int unused; } * T
 
#define UTIL_CAST(T, P)   ((T)(P))
 

Typedefs

typedef int bool
 
typedef unsigned char byte
 

Macro Definition Documentation

#define false   0

Definition at line 12 of file types.h.

#define true   (!false)

Definition at line 13 of file types.h.

#define UTIL_ADT (   T)    typedef struct UTIL_CONCAT(T,_s) { int unused; } * T

Definition at line 24 of file types.h.

#define UTIL_CAST (   T,
 
)    ((T)(P))

Definition at line 25 of file types.h.

#define UTIL_CONCAT (   x,
 
)    UTIL_CONCAT_(x,y)

Definition at line 23 of file types.h.

#define UTIL_CONCAT_ (   x,
 
)    x ## y

Definition at line 22 of file types.h.

Typedef Documentation

typedef int bool

Definition at line 11 of file types.h.

typedef unsigned char byte

Definition at line 16 of file types.h.