mac/Types.h

Go to the documentation of this file.
00001 //
00002 //  Copyright (c) 2003-2006 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 #include <sys/types.h>
00034 
00035 
00036 #define _DWFCORE_WCHAR_MAX      __WCHAR_MAX__
00037 #define _DWFCORE_SHRT_MAX       __SHRT_MAX__
00038 #define _DWFCORE_INT_MAX        __INT_MAX__
00039 
00040 typedef int BOOL;
00041 
00042 #if (_DWFCORE_WCHAR_MAX == _DWFCORE_SHRT_MAX)
00043 
00044 typedef char        ASCII_char_t;
00045 typedef wchar_t     UCS2_char_t;
00046 typedef u_int32_t   UCS4_char_t;
00047 
00048 #else
00049 
00050 typedef char        ASCII_char_t;
00051 typedef u_int16_t   UCS2_char_t;
00052 typedef wchar_t     UCS4_char_t;
00053 
00054 #endif
00055 
00056 
00057 
00058 
00059 #endif
00060 

Generated on Tue Jan 6 22:39:29 2009 for Autodesk DWF Core Library by  doxygen 1.4.5