00001 /***************************************************************** lm-cpr beg
00002 *
00003 * AI Loom - A cross platform artificial intelligence framework
00004 * AI Loom is (c) Copyright 2003 Josh Brown
00005 *
00006 * This library is free software; you can redistribute it and/or
00007 * modify it under the terms of the GNU Library General Public
00008 * License as published by the Free Software Foundation; either
00009 * version 2 of the License, or (at your option) any later version.
00010 *
00011 * This library is distributed in the hope that it will be useful,
00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00014 * Library General Public License for more details.
00015 *
00016 * You should have received a copy of the GNU Library General Public
00017 * License along with this library; if not, write to the
00018 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00019 * Boston, MA 02111-1307, USA.
00020 *
00021 * -----------------------------------------------------------------
00022 * File: $RCSfile: Types.h,v $
00023 * Date modified: $Date: 2003/09/30 04:10:23 $
00024 * Version: $Revision: 1.2 $
00025 * -----------------------------------------------------------------
00026 *
00027 ************************************************************** lm-cpr-end */
00028 #ifndef LM_TYPES_H
00029 #define LM_TYPES_H
00030
00031 namespace lm
00032 {
00033
00034 // typedefs for a bunch of the major sizes in c++
00035 #ifndef _MSC_VER // assume i386
00036 typedef signed char i8;
00037 typedef unsigned int u8;
00038 typedef short i16;
00039 typedef unsigned short u16;
00040 typedef int i32;
00041 typedef unsigned int u32;
00042 typedef long long i64;
00043 typedef unsigned long long u64;
00044 #else // we're in windoze
00045 typedef __int8 i8;
00046 typedef unsigned __int8 u8;
00047 typedef __int16 i16;
00048 typedef unsigned __int16 u16;
00049 typedef __int32 i32;
00050 typedef unsigned __int32 u32;
00051 typedef __int64 i64;
00052 typedef unsigned __int64 u64;
00053 #endif
00054
00055 }
00056
00057 #endif
1.2.14 written by Dimitri van Heesch,
© 1997-2002