summaryrefslogtreecommitdiff
path: root/tern.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2018-02-06 22:42:16 -0800
committerMichael Pavone <pavone@retrodev.com>2018-02-06 22:42:16 -0800
commitd728432b713702b6a564e3532930e380dd5d3f28 (patch)
treec661376b671f72ab24a32241a85de63565726daf /tern.h
parentb1f354708009f7c79c1f4b31783cdd67893d7c20 (diff)
Key binding menu is now functional
--HG-- branch : nuklear_ui
Diffstat (limited to 'tern.h')
-rw-r--r--tern.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tern.h b/tern.h
index 6b239e9..adae44c 100644
--- a/tern.h
+++ b/tern.h
@@ -43,8 +43,10 @@ tern_node * tern_insert_int(tern_node * head, char const * key, intptr_t value);
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);