Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

mac/Types.h

Go to the documentation of this file.
00001 //
00002 //  Copyright (c) 2003-2005 by Autodesk, Inc.
00003 //
00004 //  By using this code, you are agreeing to the terms and conditions of
00005 //  the License Agreement included in the documentation for this code.
00006 //
00007 //  AUTODESK MAKES NO WARRANTIES, EXPRESS OR IMPLIED,
00008 //  AS TO THE CORRECTNESS OF THIS CODE OR ANY DERIVATIVE
00009 //  WORKS WHICH INCORPORATE IT.
00010 //
00011 //  AUTODESK PROVIDES THE CODE ON AN "AS-IS" BASIS
00012 //  AND EXPLICITLY DISCLAIMS ANY LIABILITY, INCLUDING
00013 //  CONSEQUENTIAL AND INCIDENTAL DAMAGES FOR ERRORS,
00014 //  OMISSIONS, AND OTHER PROBLEMS IN THE CODE.
00015 //
00016 //  Use, duplication, or disclosure by the U.S. Government is subject to
00017 //  restrictions set forth in FAR 52.227-19 (Commercial Computer Software
00018 //  Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) (Rights in Technical
00019 //  Data and Computer Software), as applicable.
00020 //
00021 
00022 
00023 #ifndef DWFCORE_TYPES_MAC_H
00024 #define DWFCORE_TYPES_MAC_H
00025 
00030 
00031 
00032 #include <inttypes.h>
00033 
00034 
00035 #define _DWFCORE_WCHAR_MAX      __WCHAR_MAX__
00036 #define _DWFCORE_SHRT_MAX       __SHRT_MAX__
00037 #define _DWFCORE_INT_MAX        __INT_MAX__
00038 
00039 typedef int BOOL;
00040 
00041 #if (_DWFCORE_WCHAR_MAX == _DWFCORE_SHRT_MAX)
00042 
00043 typedef char        ASCII_char_t;
00044 typedef wchar_t     UCS2_char_t;
00045 typedef u_int32_t   UCS4_char_t;
00046 
00047 #else
00048 
00049 typedef char        ASCII_char_t;
00050 typedef u_int16_t   UCS2_char_t;
00051 typedef wchar_t     UCS4_char_t;
00052 
00053 #endif
00054 
00055 
00056 
00057 
00058 #endif
00059 

Generated on Tue May 17 12:05:10 2005 for Autodesk DWF Core Library by  doxygen 1.4.1