From c08b2fb3e2c3c8e8a5722e7350b61efd6992be45 Mon Sep 17 00:00:00 2001 From: iphydf Date: Thu, 9 Apr 2020 23:56:19 +0000 Subject: Remove tokstyle exemptions from build files. We put some tokstyle exemptions into the source files themselves, instead. This way we can check some of the code in those files, and more in the future when tokstyle supports more constructs (like apidsl). Also: hacked ping_array.api.h to not emit `_array` as parameter names. We'll need to fix apidsl to do this better. This works for now. --- toxcore/tox_api.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'toxcore/tox_api.c') 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 @@ #define SET_ERROR_PARAMETER(param, x) do { if (param) { *param = x; } } while (0) +//!TOKSTYLE- #define CONST_FUNCTION(lowercase, uppercase) \ uint32_t tox_##lowercase(void) \ @@ -60,6 +61,8 @@ ACCESSORS(void *, log_, user_data) ACCESSORS(bool,, local_discovery_enabled) ACCESSORS(bool,, experimental_thread_safety) +//!TOKSTYLE+ + const uint8_t *tox_options_get_savedata_data(const struct Tox_Options *options) { return options->savedata_data; -- cgit v1.2.3