From 8d53645a3afa31fe9e097897fc746f57ba04a967 Mon Sep 17 00:00:00 2001 From: Keegan Date: Fri, 28 Oct 2016 23:55:41 -0700 Subject: [PATCH] [WIP] - update clay C api headers --- include/clay.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/include/clay.h b/include/clay.h index f35f2a4..09492b9 100644 --- a/include/clay.h +++ b/include/clay.h @@ -12,17 +12,15 @@ void clay_init(uint32_t inbox_size, bool open_app_message); void clay_register_callbacks(const ClayCallbacks *callbacks, void *context); -void clay_remove(const char *key); +bool clay_remove(const char *key); -void clay_clear(); +bool clay_set_bool(const char *key, bool value); -void clay_set_bool(const char *key, bool value); +bool clay_set_data(const char *key, const void *data, size_t n); -void clay_set_data(const char *key, const void *data, size_t n); +bool clay_set_int(const char *key, int value); -void clay_set_int(const char *key, int value); - -void clay_set_string(const char *key, const char *value); +bool clay_set_string(const char *key, const char *value); bool clay_get_bool(const char *key, bool *value_out);