diff options
Diffstat (limited to 'src/types.h')
-rw-r--r-- | src/types.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h new file mode 100644 index 0000000..a92e481 --- /dev/null +++ b/src/types.h @@ -0,0 +1,38 @@ +/******************************************************************************* + * Copyright (c) 2006 International Business Machines Corporation. * + * All rights reserved. This program and the accompanying materials * + * are made available under the terms of the Common Public License v1.0 * + * which accompanies this distribution, and is available at * + * http://www.opensource.org/licenses/cpl1.0.php * + * * + * Contributors: * + * Douglas M. Pase - initial API and implementation * + *******************************************************************************/ + +// +// Configuration +// + +// Include guard +#if !defined(TYPES_H) +#define TYPES_H + + +// +// Type definitions +// + +typedef long long int64; +typedef int int32; +typedef short int16; +typedef char int8; + +typedef unsigned long long uint64; +typedef unsigned int uint32; +typedef unsigned short uint16; +typedef unsigned char uint8; + +typedef double float64; +typedef float float32; + +#endif |