00001 #ifndef __ENUMERATE_H__ 00002 #define __ENUMERATE_H__ 00003 00004 /* 00005 Copyright (c) 2006-2010 Trevor Williams 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by the Free Software 00009 Foundation; either version 2 of the License, or (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 00012 without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00013 See the GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License along with this program; 00016 if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00017 */ 00018 00026 #include "defines.h" 00027 00028 00030 void enumerate_add_item( vsignal* enum_sig, static_expr* value, func_unit* funit ); 00031 00033 void enumerate_end_list( func_unit* funit ); 00034 00036 void enumerate_resolve( funit_inst* inst ); 00037 00039 void enumerate_dealloc( enum_item* ei ); 00040 00042 void enumerate_dealloc_list( func_unit* funit ); 00043 00044 00045 /* 00046 $Log: enumerate.h,v $ 00047 Revision 1.4.16.2 2010/01/04 22:05:06 phase1geo 00048 Updating copyright dates to include 2010. Updating files for 0.7.8 stable 00049 release (this won't be happening for a bit). 00050 00051 Revision 1.4.16.1 2009/04/23 16:49:04 phase1geo 00052 Fixed a few more user documentation issues and updated the copyright dates in 00053 all source code files. 00054 00055 Revision 1.4 2007/11/20 05:28:58 phase1geo 00056 Updating e-mail address from trevorw@charter.net to phase1geo@gmail.com. 00057 00058 Revision 1.3 2007/09/14 06:22:12 phase1geo 00059 Filling in existing functions in struct_union. Completed parser code for handling 00060 struct/union declarations. Code compiles thus far. 00061 00062 Revision 1.2 2006/10/06 22:45:57 phase1geo 00063 Added support for the wait() statement. Added wait1 diagnostic to regression 00064 suite to verify its behavior. Also added missing GPL license note at the top 00065 of several *.h and *.c files that are somewhat new. 00066 00067 Revision 1.1 2006/08/29 22:49:31 phase1geo 00068 Added enumeration support and partial support for typedefs. Added enum1 00069 diagnostic to verify initial enumeration support. Full regression has not 00070 been run at this point -- checkpointing. 00071 00072 */ 00073 00074 #endif 00075