1 /* 2 This header is used when the compile-time definitions won't work. 3 */ 4 5 #ifndef __DODS_DATATYPES__ 6 #define __DODS_DATATYPES__ 7 8 #include <inttypes.h> 9 10 namespace libdap 11 { 12 13 typedef int32_t dods_int32; 14 15 typedef uint32_t dods_uint32; 16 17 typedef int16_t dods_int16; 18 19 typedef uint16_t dods_uint16; 20 21 typedef uint8_t dods_byte; 22 23 typedef double dods_float64; 24 25 typedef float dods_float32; 26 27 // Added for DAP4 28 typedef int8_t dods_int8; 29 30 typedef int64_t dods_int64; 31 32 typedef uint64_t dods_uint64; 33 34 typedef int64_t dods_enum; 35 36 } // namespace libdap 37 38 #endif /* __DODS_DATATYPES__ */ 39