00001 /* Part of the culibs project, <http://www.eideticdew.org/culibs/>. 00002 * Copyright (C) 2005--2007 Petter Urkedal <urkedal@nbi.dk> 00003 * 00004 * This program is free software: you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation, either version 3 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00016 */ 00017 00018 #ifndef CUEX_FWD_H 00019 #define CUEX_FWD_H 00020 00021 #include <cuoo/fwd.h> 00022 00023 CU_BEGIN_DECLARATIONS 00024 /** \defgroup cuex_fwd_h cuex/fwd.h: Forward Declarations 00025 ** @{ \ingroup cuex_mod */ 00026 00027 typedef struct cuex_fpvar *cuex_fpvar_t; /* fpvar.h */ 00028 typedef struct cuex_gvar *cuex_gvar_t; /* gvar.h */ 00029 typedef struct cuex_occurtree *cuex_occurtree_t; /* occurtree.h */ 00030 typedef struct cuex_opn *cuex_opn_t; /* opn.h */ 00031 typedef struct cuex_opn_source *cuex_opn_source_t; /* opn.h */ 00032 typedef struct cuex_oprinfo *cuex_oprinfo_t; /* oprinfo.h */ 00033 typedef struct cuex_pvar *cuex_pvar_t; /* pvar.h */ 00034 typedef struct cuex_subst *cuex_subst_t; /* subst.h */ 00035 typedef struct cuex_veqv *cuex_veqv_t; /* subst.h */ 00036 typedef struct cuex_tpvar *cuex_tpvar_t; /* tpvar.h */ 00037 typedef struct cuex_tvar *cuex_tvar_t; /* tvar.h */ 00038 typedef struct cuex_var *cuex_var_t; /* var.h */ 00039 00040 #define cuex_var_from_ex(ex) ((cuex_var_t)(ex)) 00041 #define cuex_is_idr(ex) (cuex_meta(ex) == cuoo_type_to_meta(cu_idr_type())) 00042 #define cuex_idr_from_ex(ex) ((cu_idr_t)(ex)) 00043 00044 /** This function must be called before you use the cuex library or start any 00045 ** threads which may use it. */ 00046 void cuex_init(void); 00047 00048 /** @} */ 00049 CU_END_DECLARATIONS 00050 00051 #ifndef CU_NCOMPAT 00052 # include <cuex/compat.h> 00053 #endif 00054 #endif