/[escript]/branches/windows_from_1456_trunk_1522_merged_in/esysUtils/src/EsysTypes.h
ViewVC logotype

Contents of /branches/windows_from_1456_trunk_1522_merged_in/esysUtils/src/EsysTypes.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1523 - (show annotations)
Tue Apr 22 06:15:31 2008 UTC (14 years, 11 months ago) by phornby
File MIME type: text/plain
File size: 1035 byte(s)
Rename to reflect the trunk version merged in.
1
2 /* $Id$ */
3
4 /*******************************************************
5 *
6 * Copyright 2003-2007 by ACceSS MNRF
7 * Copyright 2007 by University of Queensland
8 *
9 * http://esscc.uq.edu.au
10 * Primary Business: Queensland, Australia
11 * Licensed under the Open Software License version 3.0
12 * http://www.opensource.org/licenses/osl-3.0.php
13 *
14 *******************************************************/
15
16 #ifndef ESYSTYPES_H
17 #define ESYSTYPES_H
18 #include "system_dep.h"
19 /*
20 * Use the integer types defined in the 1999 ISO C Standard
21 * To specify a suitable Esys integer type
22 */
23 #include <stdint.h>
24
25 #if ESYS_INT_BITS==64
26 typedef int64_t EsysIntType;
27 #else
28 typedef int32_t EsysIntType;
29 #endif
30
31 /*
32 * A primitive test to ensure the array index type is at least as large
33 * as requested. Could put in another test if it is larger.
34 * An obscure compile error will result if the array index type isn't large
35 * enough
36 */
37 static char EsysIntType_Too_Small[sizeof(EsysIntType)*8-ESYS_INT_BITS];
38
39 #endif

Properties

Name Value
svn:eol-style native
svn:executable *
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26