Xbase64
4.0.1
C++ Library for handling Xbase (DBF) format type files
src
include
xbtypes.h
Go to the documentation of this file.
1
/* xbtypes.h
2
3
XBase64 Software Library
4
5
Copyright (c) 1997,2003,2014,2022 Gary A Kunkel
6
7
The xb64 software library is covered under the terms of the GPL Version 3, 2007 license.
8
9
Email Contact:
10
11
XDB-devel@lists.sourceforge.net
12
XDB-users@lists.sourceforge.net
13
14
*/
15
16
#ifndef __XB_XTYPES_H__
17
#define __XB_XTYPES_H__
18
19
namespace
xb
{
20
21
22
typedef
float
xbFloat
;
23
typedef
double
xbDouble
;
24
typedef
short
int
xbBool
;
25
typedef
xbUInt64
xbOffT
;
26
27
28
#define xbTrue 1
29
#define xbFalse 0
30
31
32
#ifdef HAVE__FILENO_F
33
#define xbFileNo _fileno
34
#else
35
#define xbFileNo fileno
36
#endif
37
38
#ifdef XB_LOCKING_SUPPORT
39
#if defined( HAVE_LONG_LONG )
40
#define LK4026531839 4026531839LL
41
#define LK4026531838 4026531838LL
42
#define LK3026531838 3026531838LL
43
#define LK1000000000 1000000000LL
44
#else
45
#define LK4026531839 4026531839L
46
#define LK4026531838 4026531838L
47
#define LK3026531838 3026531838L
48
#define LK1000000000 1000000000L
49
#endif
50
#endif
51
52
53
54
}
/* namespace */
55
#endif
/* __XB_XTYPES_H__ */
xb
Definition:
xbdate.cpp:19
xb::xbDouble
double xbDouble
Definition:
xbtypes.h:23
xb::xbFloat
float xbFloat
Definition:
xbtypes.h:22
xb::xbBool
short int xbBool
Definition:
xbtypes.h:24
xb::xbOffT
xbUInt64 xbOffT
Definition:
xbtypes.h:25
Generated by
1.9.3