diff tern.h @ 768:2f48a3c187c6

Add support for reading cartridge memory map from ROM database, though without EEPROM support for now
author Michael Pavone <pavone@retrodev.com>
date Tue, 07 Jul 2015 19:33:33 -0700
parents 1b2f8280ba81
children 110251ea369e
line wrap: on
line diff
--- a/tern.h	Mon Jul 06 19:46:46 2015 -0700
+++ b/tern.h	Tue Jul 07 19:33:33 2015 -0700
@@ -39,6 +39,7 @@
 tern_node * tern_insert_ptr(tern_node * head, char * key, void * value);
 tern_node * tern_insert_node(tern_node *head, char *key, tern_node *value);
 uint32_t tern_count(tern_node *head);
+void tern_foreach(tern_node *head, iter_fun fun, void *data);
 char * tern_int_key(uint32_t key, char * buf);
 tern_node * tern_get_node(tern_val value);