comparison 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
comparison
equal deleted inserted replaced
767:ea525f600b1d 768:2f48a3c187c6
37 tern_val tern_find_path_default(tern_node *head, char *key, tern_val def); 37 tern_val tern_find_path_default(tern_node *head, char *key, tern_val def);
38 tern_val tern_find_path(tern_node *head, char *key); 38 tern_val tern_find_path(tern_node *head, char *key);
39 tern_node * tern_insert_ptr(tern_node * head, char * key, void * value); 39 tern_node * tern_insert_ptr(tern_node * head, char * key, void * value);
40 tern_node * tern_insert_node(tern_node *head, char *key, tern_node *value); 40 tern_node * tern_insert_node(tern_node *head, char *key, tern_node *value);
41 uint32_t tern_count(tern_node *head); 41 uint32_t tern_count(tern_node *head);
42 void tern_foreach(tern_node *head, iter_fun fun, void *data);
42 char * tern_int_key(uint32_t key, char * buf); 43 char * tern_int_key(uint32_t key, char * buf);
43 tern_node * tern_get_node(tern_val value); 44 tern_node * tern_get_node(tern_val value);
44 45
45 #endif //TERN_H_ 46 #endif //TERN_H_