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

Annotation of /branches/ROBW_XPLATFORM/esysUtils/src/EsysTypes.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 468 - (hide annotations)
Wed Jan 25 06:50:39 2006 UTC (15 years, 8 months ago) by jgs
Original Path: trunk/esysUtils/src/EsysTypes.h
File MIME type: text/plain
File size: 1616 byte(s)
reorganised esysUtils to remove inc directory
1 jgs 82 /*=============================================================================
2    
3     ******************************************************************************
4     * *
5     * COPYRIGHT ACcESS 2004 - All Rights Reserved *
6     * *
7     * This software is the property of ACcESS. No part of this code *
8     * may be copied in any form or by any means without the expressed written *
9     * consent of ACcESS. Copying, use or modification of this software *
10     * by any unauthorised person is illegal unless that person has a software *
11     * license agreement with ACcESS. *
12     * *
13     ******************************************************************************
14    
15     ******************************************************************************/
16    
17     #ifndef ESYSTYPES_H
18     #define ESYSTYPES_H
19 jgs 468
20 jgs 82 /*
21     * Use the integer types defined in the 1999 ISO C Standard
22     * To specify a suitable Esys integer type
23     */
24     #include <stdint.h>
25    
26     #if ESYS_INT_BITS==64
27     typedef int64_t EsysIntType;
28     #else
29     typedef int32_t EsysIntType;
30     #endif
31    
32     /*
33 jgs 468 * A primitive test to ensure the array index type is at least as large
34 jgs 82 * as requested. Could put in another test if it is larger.
35     * An obscure compile error will result if the array index type isn't large
36     * enough
37     */
38     static char EsysIntType_Too_Small[sizeof(EsysIntType)*8-ESYS_INT_BITS];
39    
40     #endif

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26