/[escript]/temp_trunk_copy/esysUtils/src/EsysTypes.h
ViewVC logotype

Contents of /temp_trunk_copy/esysUtils/src/EsysTypes.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1384 - (show annotations)
Fri Jan 11 02:29:38 2008 UTC (15 years, 2 months ago) by phornby
File MIME type: text/plain
File size: 1035 byte(s)
Make a temp copy of the trunk before checking in the windows changes


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