Mercurial > pub > dyncall > dyncall
comparison dyncall/dyncall_types.h @ 0:3e629dc19168
initial from svn dyncall-1745
author | Daniel Adler |
---|---|
date | Thu, 19 Mar 2015 22:24:28 +0100 |
parents | |
children | ebb3d81be14c |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3e629dc19168 |
---|---|
1 /* | |
2 | |
3 Package: dyncall | |
4 Library: dyncall | |
5 File: dyncall/dyncall_types.h | |
6 Description: Typedefs | |
7 License: | |
8 | |
9 Copyright (c) 2007-2015 Daniel Adler <dadler@uni-goettingen.de>, | |
10 Tassilo Philipp <tphilipp@potion-studios.com> | |
11 | |
12 Permission to use, copy, modify, and distribute this software for any | |
13 purpose with or without fee is hereby granted, provided that the above | |
14 copyright notice and this permission notice appear in all copies. | |
15 | |
16 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
17 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | |
18 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | |
19 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | |
20 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | |
21 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | |
22 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
23 | |
24 */ | |
25 | |
26 | |
27 | |
28 /* | |
29 | |
30 dyncall argument- and return-types | |
31 | |
32 REVISION | |
33 2007/12/11 initial | |
34 | |
35 */ | |
36 | |
37 #ifndef DYNCALL_TYPES_H | |
38 #define DYNCALL_TYPES_H | |
39 | |
40 #include <stddef.h> | |
41 | |
42 #include "dyncall_config.h" | |
43 | |
44 #ifdef __cplusplus | |
45 extern "C" { | |
46 #endif | |
47 | |
48 typedef void DCvoid; | |
49 typedef DC_BOOL DCbool; | |
50 typedef char DCchar; | |
51 typedef unsigned char DCuchar; | |
52 typedef short DCshort; | |
53 typedef unsigned short DCushort; | |
54 typedef int DCint; | |
55 typedef unsigned int DCuint; | |
56 typedef long DClong; | |
57 typedef unsigned long DCulong; | |
58 typedef DC_LONG_LONG DClonglong; | |
59 typedef unsigned DC_LONG_LONG DCulonglong; | |
60 typedef float DCfloat; | |
61 typedef double DCdouble; | |
62 typedef DC_POINTER DCpointer; | |
63 typedef const char* DCstring; | |
64 | |
65 typedef size_t DCsize; | |
66 | |
67 #define DC_TRUE 1 | |
68 #define DC_FALSE 0 | |
69 | |
70 #ifdef __cplusplus | |
71 } | |
72 #endif | |
73 | |
74 #endif /* DYNCALL_TYPES_H */ | |
75 |