00001 /*******************************************************************\ 00002 00003 SESAME project software license 00004 00005 Copyright (C) 2002 University of Amsterdam 00006 00007 This program is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU General Public License 00009 as published by the Free Software Foundation; either version 2 00010 of the License, or (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program; if not, write to the Free Software 00019 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 00020 02111-1307, USA. 00021 00022 For information regarding the SESAME software project see 00023 http://sesamesim.sourceforge.net or email 00024 jcofflan@users.sourceforge.net 00025 00026 \*******************************************************************/ 00027 #ifndef TYPE_SIZE_H 00028 #define TYPE_SIZE_H 00029 00030 char *sizevariable(char *fmt, char *s0, char *s1); 00031 void sizedumpinitdecl(void); 00032 void sizedumpinit(classx *cl); 00033 void freedumpinit(void); 00034 char *sizeidentifier(varx *vp); 00035 char *sizestring(int value); 00036 int sizesimple(char *string); 00037 char *sizeeval(char *fmt, char *val1, char *val2); 00038 char *calc_range(parsex *range); 00039 void calc_type_size(symboltable *tp_list); 00040 void calc_type_sizes(void); 00041 int compvart(varx **a, varx **b); 00042 char *calc_var_place(symboltable *vt, char *place); 00043 void fm_var_place(symboltable *fmt); 00044 void class_var_place(symboltable *ct); 00045 00046 #endif // TYPE_SIZE_H