00001 // 00002 // $Id: Types.h,v 1.7 2007/04/15 23:32:57 will_mason Exp $ 00003 // 00004 // vi: set ft=objc: 00005 00006 /* 00007 * ObjectiveLib - a library of containers and algorithms for Objective-C 00008 * 00009 * Copyright (c) 2004-2007 00010 * Will Mason 00011 * 00012 * Portions: 00013 * 00014 * Copyright (c) 1994 00015 * Hewlett-Packard Company 00016 * 00017 * Copyright (c) 1996,1997 00018 * Silicon Graphics Computer Systems, Inc. 00019 * 00020 * Copyright (c) 1997 00021 * Moscow Center for SPARC Technology 00022 * 00023 * Copyright (c) 1999 00024 * Boris Fomitchev 00025 * 00026 * This library is free software; you can redistribute it and/or 00027 * modify it under the terms of the GNU Lesser General Public 00028 * License as published by the Free Software Foundation; either 00029 * version 2.1 of the License, or (at your option) any later version. 00030 * 00031 * This library is distributed in the hope that it will be useful, 00032 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00033 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00034 * Lesser General Public License for more details. 00035 * 00036 * You should have received a copy of the GNU Lesser General Public 00037 * License along with this library; if not, write to the Free Software 00038 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00039 * 00040 * You may contact the author at will_mason@users.sourceforge.net. 00041 */ 00042 00043 #if !defined(TYPES_OL_GUARD) 00044 #if !defined(OL_GENERATING_DOCUMENTATION) 00045 #define TYPES_OL_GUARD 00046 #endif 00047 00048 #include <ObjectiveLib/Config.h> 00049 #if defined(OL_WINDOWS) 00050 #include <windows.h> 00051 #endif 00052 00068 #if defined(OL_WINDOWS) 00069 typedef HANDLE ol_fd; 00070 #else 00071 typedef int ol_fd; 00072 #endif 00073 00081 typedef enum 00082 { 00084 OLFunctorType_Divides, 00086 OLFunctorType_EqualTo, 00088 OLFunctorType_Greater, 00090 OLFunctorType_GreaterEqual, 00092 OLFunctorType_Less, 00094 OLFunctorType_LessEqual, 00096 OLFunctorType_LogicalAnd, 00098 OLFunctorType_LogicalNot, 00100 OLFunctorType_LogicalOr, 00102 OLFunctorType_Minus, 00104 OLFunctorType_Modulus, 00106 OLFunctorType_Multiplies, 00108 OLFunctorType_Negate, 00110 OLFunctorType_NotEqualTo, 00112 OLFunctorType_Plus 00113 } OLFunctorType; 00114 00115 #endif
|