VMS/VMS_Implementations/VMS_impls/VMS__MC_shared_impl

view VMS_primitive_data_types.h @ 248:da08f9717024

Moved VMS_defs__turn_on_and_off.h outside of VMS repo, into project repo
author Sean Halle <seanhalle@yahoo.com>
date Sat, 21 Jul 2012 15:20:40 -0700
parents c88ce1db91ef
children
line source
1 /*
2 * Copyright 2009 OpenSourceStewardshipFoundation.org
3 * Licensed under GNU General Public License version 2
4 *
5 * Author: seanhalle@yahoo.com
6 *
8 */
10 #ifndef _PRIMITIVE_DATA_TYPES_H
11 #define _PRIMITIVE_DATA_TYPES_H
14 /*For portability, need primitive data types that have a well defined
15 * size, and well-defined layout into bytes
16 *To do this, provide standard aliases for all primitive data types
17 *These aliases must be used in all functions instead of the ANSI types
18 *
19 *When VMS is used together with BLIS, these definitions will be replaced
20 * inside each specialization module according to the compiler used in
21 * that module and the hardware being specialized to.
22 */
23 typedef char bool8;
24 typedef char int8;
25 typedef char uint8;
26 typedef short int16;
27 typedef unsigned short uint16;
28 typedef int int32;
29 typedef unsigned int uint32;
30 typedef unsigned int bool32;
31 typedef long long int64;
32 typedef unsigned long long uint64;
33 typedef float float32;
34 typedef double float64;
35 //typedef double double float128; //GCC doesn't like this
36 #define float128 double double
38 #define TRUE 1
39 #define FALSE 0
41 #endif /* _PRIMITIVE_DATA_TYPES_H */