Mercurial > hg > index.cgi
diff lwbasic/symtab.h @ 32:49d608aecc4d
Framework for handling local stack frame and/or variables
author | lost@l-w.ca |
---|---|
date | Thu, 03 Feb 2011 22:00:47 -0700 |
parents | bc96cd02fbf4 |
children |
line wrap: on
line diff
--- a/lwbasic/symtab.h Thu Feb 03 21:28:24 2011 -0700 +++ b/lwbasic/symtab.h Thu Feb 03 22:00:47 2011 -0700 @@ -42,7 +42,7 @@ char *name; /* name of the symbol */ int addr; /* address of symbol */ int symtype; /* type of symbol */ - + void *privdata; /* random data associated with symbol */ symtab_entry_t *next; /* next in the list */ }; @@ -54,7 +54,7 @@ __E symtab_t *symtab_init(void); __E void symtab_destroy(symtab_t *st); __E symtab_entry_t *symtab_find(symtab_t *st, char *name); -__E void symtab_register(symtab_t *st, char *name, int addr, int symtype); +__E void symtab_register(symtab_t *st, char *name, int addr, int symtype, void *data); #undef __E