1 /* 2 3 Package: dyncall 4 Library: dyncall 5 File: dyncall/dyncall_types.h 6 Description: Typedefs 7 License: 8 9 Copyright (c) 2007-2018 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 typedef size_t DCsize; 65 66 #define DC_TRUE 1 67 #define DC_FALSE 0 68 69 #ifdef __cplusplus 70 } 71 #endif 72 73 #endif /* DYNCALL_TYPES_H */ 74 75