summaryrefslogtreecommitdiffhomepage
path: root/value.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-07-09 19:58:37 +0200
committerJo-Philipp Wich <jo@mein.io>2021-07-11 15:49:14 +0200
commitff52440341bcb8c61105ff144bfcb210315207e4 (patch)
treeb7eb1c47cb8034e5188b86f480e3e61f44ee6ced /value.h
parent1d60418132460c23b216a2f8a9e0ea8897d32ea4 (diff)
treewide: consolidate typedef naming
Ensure that all custom typedef and vector declaration type names end with a "_t" suffix. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'value.h')
-rw-r--r--value.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/value.h b/value.h
index 7d4e2b1..04d37a9 100644
--- a/value.h
+++ b/value.h
@@ -46,15 +46,15 @@ bool uc_val_is_truish(uc_value_t *val);
uc_type_t uc_cast_number(uc_value_t *v, int64_t *n, double *d);
-uc_value_t *uc_getval(uc_vm *, uc_value_t *scope, uc_value_t *key);
-uc_value_t *uc_setval(uc_vm *, uc_value_t *scope, uc_value_t *key, uc_value_t *val);
-bool uc_delval(uc_vm *, uc_value_t *scope, uc_value_t *key);
+uc_value_t *uc_getval(uc_vm_t *, uc_value_t *scope, uc_value_t *key);
+uc_value_t *uc_setval(uc_vm_t *, uc_value_t *scope, uc_value_t *key, uc_value_t *val);
+bool uc_delval(uc_vm_t *, uc_value_t *scope, uc_value_t *key);
-void uc_vallist_init(uc_value_list *list);
-void uc_vallist_free(uc_value_list *list);
+void uc_vallist_init(uc_value_list_t *list);
+void uc_vallist_free(uc_value_list_t *list);
-ssize_t uc_vallist_add(uc_value_list *list, uc_value_t *value);
-uc_value_type_t uc_vallist_type(uc_value_list *list, size_t idx);
-uc_value_t *uc_vallist_get(uc_value_list *list, size_t idx);
+ssize_t uc_vallist_add(uc_value_list_t *list, uc_value_t *value);
+uc_value_type_t uc_vallist_type(uc_value_list_t *list, size_t idx);
+uc_value_t *uc_vallist_get(uc_value_list_t *list, size_t idx);
#endif /* __VALUE_H_ */