Mercurial > repos > blastem
diff tern.h @ 1522:63659fb92db4 nuklear_ui
Key binding menu is now functional
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 06 Feb 2018 22:42:16 -0800 |
parents | e890971f3757 |
children | de3d20e58555 |
line wrap: on
line diff
--- a/tern.h Mon Feb 05 23:39:14 2018 -0800 +++ b/tern.h Tue Feb 06 22:42:16 2018 -0800 @@ -43,8 +43,10 @@ void * tern_find_ptr_default(tern_node * head, char const * key, void * def); void * tern_find_ptr(tern_node * head, char const * key); tern_node *tern_find_node(tern_node *head, char const *key); +uint8_t tern_delete(tern_node **head, char const *key, tern_val *out); tern_val tern_find_path_default(tern_node *head, char const *key, tern_val def, uint8_t req_valtype); tern_val tern_find_path(tern_node *head, char const *key, uint8_t valtype); +uint8_t tern_delete_path(tern_node **head, char const *key, tern_val *out); tern_node * tern_insert_ptr(tern_node * head, char const * key, void * value); tern_node * tern_insert_node(tern_node *head, char const *key, tern_node *value); tern_node *tern_insert_path(tern_node *head, char const *key, tern_val val, uint8_t valtype);