00001 /* 00002 * File: cw_macro_token_expander.h 00003 * $Id: cw_macro_token_expander.h,v 1.1 2002/04/29 17:57:35 alec Exp $ 00004 * 00005 * Author: Alec Panovici (alecu@email.com) 00006 * 00007 * Comments: 00008 * 00009 * Revision history: 00010 * 00011 * $Log: cw_macro_token_expander.h,v $ 00012 * Revision 1.1 2002/04/29 17:57:35 alec 00013 * *** empty log message *** 00014 * 00015 */ 00016 00017 00018 /* 00019 Copyright (C) 2002 Alexandru Panoviciu (alecu@email.com) 00020 00021 This program is free software; you can redistribute it and/or modify 00022 it under the terms of the GNU General Public License as published by 00023 the Free Software Foundation; either version 2 of the License, or 00024 (at your option) any later version. 00025 00026 This program is distributed in the hope that it will be useful, 00027 but WITHOUT ANY WARRANTY; without even the implied warranty of 00028 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00029 GNU General Public License for more details. 00030 00031 You should have received a copy of the GNU General Public License 00032 along with this program; if not, write to the Free Software 00033 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00034 00035 */ 00036 00037 #ifndef __CW_MACRO_TOKEN_EXPANDER_H__ 00038 #define __CW_MACRO_TOKEN_EXPANDER_H__ 00039 00040 00041 #if defined __cplusplus 00042 00043 class MacroTokenExpander; 00044 00052 extern MacroTokenExpander* cw_macroTokenExpander; 00053 00054 #define CLINK extern "C" 00055 00056 #else 00057 00058 #define CLINK 00059 00060 #endif 00061 00062 #include "cw_misc.h" 00063 00076 CLINK void MacroTokenExpander_addMacro (char *name_, void *regexp_); 00077 00078 CLINK void* MacroTokenExpander_getMacro (char *name_); 00079 00080 /* @} */ 00081 00082 #endif /* #ifndef __CW_MACRO_TOKEN_EXPANDER_H__ */ 00083