File: dods-datatypes.h

package info (click to toggle)
libdap 3.21.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,256 kB
  • sloc: cpp: 46,310; sh: 44,047; xml: 23,535; ansic: 19,973; yacc: 2,505; exp: 1,544; makefile: 581; lex: 309; fortran: 8
file content (37 lines) | stat: -rw-r--r-- 570 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
    This header is used when the compile-time definitions won't work.
*/

#ifndef __DODS_DATATYPES__
#define __DODS_DATATYPES__

#include <inttypes.h>

namespace libdap {

typedef int32_t dods_int32;

typedef uint32_t dods_uint32;

typedef int16_t dods_int16;

typedef uint16_t dods_uint16;

typedef uint8_t dods_byte;

typedef double dods_float64;

typedef float dods_float32;

// Added for DAP4
typedef int8_t dods_int8;

typedef int64_t dods_int64;

typedef uint64_t dods_uint64;

typedef int64_t dods_enum;

} // namespace libdap

#endif /* __DODS_DATATYPES__ */