dcrud
0.0.0
Distributed data and services
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
types.h
Go to the documentation of this file.
1
#pragma once
2
#ifdef __cplusplus
3
extern
"C"
{
4
#endif
5
6
#include <stdlib.h>
7
#include <stdint.h>
8
#include <inttypes.h>
9
10
#ifndef __cplusplus
11
typedef
int
bool
;
12
# define false 0
13
# define true (!false)
14
#endif
15
16
typedef
unsigned
char
byte
;
17
#ifdef _WIN32
18
typedef
__int64 int64_t;
19
typedef
unsigned
__int64 uint64_t;
20
#endif
21
22
#define UTIL_CONCAT_(x,y) x ## y
23
#define UTIL_CONCAT(x,y) UTIL_CONCAT_(x,y)
24
#define UTIL_ADT(T) typedef struct UTIL_CONCAT(T,_s) { int unused; } * T
25
#define UTIL_CAST(T,P) ((T)(P))
26
27
#ifdef __cplusplus
28
}
29
#endif
byte
unsigned char byte
Definition:
types.h:16
bool
int bool
Definition:
types.h:11
inc
util
types.h
Generated on Sun Jan 10 2016 19:24:07 for dcrud by
1.8.7