diff options
Diffstat (limited to 'toxcore/tox_api.c')
-rw-r--r-- | toxcore/tox_api.c | 3 |
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) \ |
12 | uint32_t tox_##lowercase(void) \ | 13 | uint32_t tox_##lowercase(void) \ |
@@ -60,6 +61,8 @@ ACCESSORS(void *, log_, user_data) | |||
60 | ACCESSORS(bool,, local_discovery_enabled) | 61 | ACCESSORS(bool,, local_discovery_enabled) |
61 | ACCESSORS(bool,, experimental_thread_safety) | 62 | ACCESSORS(bool,, experimental_thread_safety) |
62 | 63 | ||
64 | //!TOKSTYLE+ | ||
65 | |||
63 | const uint8_t *tox_options_get_savedata_data(const struct Tox_Options *options) | 66 | const uint8_t *tox_options_get_savedata_data(const struct Tox_Options *options) |
64 | { | 67 | { |
65 | return options->savedata_data; | 68 | return options->savedata_data; |