00001 /* ASCEND modelling environment 00002 Copyright (C) 1998 Carnegie Mellon University 00003 Copyright (C) 2006 Carnegie Mellon University 00004 00005 This program is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation; either version 2, or (at your option) 00008 any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program; if not, write to the Free Software 00017 Foundation, Inc., 59 Temple Place - Suite 330, 00018 Boston, MA 02111-1307, USA. 00019 *//* 00036 By Benjamin Allan, March 20, 1998. 00037 Last in CVS:$Revision: 1.5 $ $Date: 1998/06/16 16:38:39 $ $Author: mthomas $ 00038 */ 00039 00040 #ifndef ASC_BRACED_H 00041 #define ASC_BRACED_H 00042 00047 #include <utilities/ascConfig.h> 00048 #include "compiler.h" 00049 00054 extern struct bracechar *AddBraceChar(CONST char *string, symchar *lang); 00055 00059 extern struct bracechar *CopyBraceChar(struct bracechar *bc); 00060 00064 extern void DestroyBraceChar(struct bracechar *bc); 00065 00071 ASC_DLLSPEC CONST char *BraceCharString(struct bracechar *sbc); 00073 #define BCS(sbc) BraceCharString(sbc) 00074 00081 extern symchar *BraceCharLang(struct bracechar *sbc); 00083 #define BCLANG(sbc) BraceCharLang(sbc) 00084 00091 ASC_DLLSPEC int BraceCharLen(struct bracechar *sbc); 00093 #define BCL(sbc) BraceCharLen(sbc) 00094 00095 /* @} */ 00096 00097 #endif /* ASC_BRACED_H */
1.5.1