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

Annotation of /trunk/esysUtils/src/EsysTypes.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1312 - (hide annotations)
Mon Sep 24 06:18:44 2007 UTC (12 years, 1 month ago) by ksteube
File MIME type: text/plain
File size: 1035 byte(s)
The MPI branch is hereby closed. All future work should be in trunk.

Previously in revision 1295 I merged the latest changes to trunk into trunk-mpi-branch.
In this revision I copied all files from trunk-mpi-branch over the corresponding
trunk files. I did not use 'svn merge', it was a copy.

1 ksteube 1312
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 jgs 82 #ifndef ESYSTYPES_H
17     #define ESYSTYPES_H
18 woo409 757 #include "system_dep.h"
19 jgs 82 /*
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 jgs 468 * A primitive test to ensure the array index type is at least as large
33 jgs 82 * 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