summaryrefslogtreecommitdiff
path: root/toxcore/tox_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/tox_api.c')
-rw-r--r--toxcore/tox_api.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/toxcore/tox_api.c b/toxcore/tox_api.c
index 8503f237..63b4bea3 100644
--- a/toxcore/tox_api.c
+++ b/toxcore/tox_api.c
@@ -7,6 +7,7 @@
7 7
8#define SET_ERROR_PARAMETER(param, x) do { if (param) { *param = x; } } while (0) 8#define SET_ERROR_PARAMETER(param, x) do { if (param) { *param = x; } } while (0)
9 9
10//!TOKSTYLE-
10 11
11#define CONST_FUNCTION(lowercase, uppercase) \ 12#define CONST_FUNCTION(lowercase, uppercase) \
12uint32_t tox_##lowercase(void) \ 13uint32_t tox_##lowercase(void) \
@@ -60,6 +61,8 @@ ACCESSORS(void *, log_, user_data)
60ACCESSORS(bool,, local_discovery_enabled) 61ACCESSORS(bool,, local_discovery_enabled)
61ACCESSORS(bool,, experimental_thread_safety) 62ACCESSORS(bool,, experimental_thread_safety)
62 63
64//!TOKSTYLE+
65
63const uint8_t *tox_options_get_savedata_data(const struct Tox_Options *options) 66const uint8_t *tox_options_get_savedata_data(const struct Tox_Options *options)
64{ 67{
65 return options->savedata_data; 68 return options->savedata_data;