* Revision 1.7 1999/06/01 09:49:33 mdw
* Allow things to be looked up by just their caller-supplied hashes. This
* actually needs to be thought through better.
* Revision 1.7 1999/06/01 09:49:33 mdw
* Allow things to be looked up by just their caller-supplied hashes. This
* actually needs to be thought through better.
/*----- Type definitions --------------------------------------------------*/
/* --- Symbol table --- *
/*----- Type definitions --------------------------------------------------*/
/* --- Symbol table --- *
-typedef struct sym_iter {
- sym_table *t; /* Symbol table being iterated */
- sym_base *n; /* Address of next item to return */
- size_t i; /* Index of next hash bin to use */
-} sym_iter;
+typedef hash_iter sym_iter;
* may be given, in which case the name may contain arbitrary
* binary data, or it may be given as a negative number, in
* which case the length of the name is calculated as
* may be given, in which case the name may contain arbitrary
* binary data, or it may be given as a negative number, in
* which case the length of the name is calculated as
*
* The return value is the address of a pointer to a @sym_base@
* block (which may have other things on the end, as above). If
*
* The return value is the address of a pointer to a @sym_base@
* block (which may have other things on the end, as above). If
extern void *sym_next(sym_iter */*i*/);
/*----- That's all, folks -------------------------------------------------*/
extern void *sym_next(sym_iter */*i*/);
/*----- That's all, folks -------------------------------------------------*/