diff options
author | iphydf <iphydf@users.noreply.github.com> | 2020-04-09 23:56:19 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2020-04-16 11:05:08 +0000 |
commit | c08b2fb3e2c3c8e8a5722e7350b61efd6992be45 (patch) | |
tree | bc6f5738bb6a948146cedb612cc12abb3e158fb4 /toxcore/tox.api.h | |
parent | 7f9f8045cd6f8d92559cdc9f7d297cf92e960e49 (diff) |
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.
Diffstat (limited to 'toxcore/tox.api.h')
-rw-r--r-- | toxcore/tox.api.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toxcore/tox.api.h b/toxcore/tox.api.h index fcd43f7a..5e42b866 100644 --- a/toxcore/tox.api.h +++ b/toxcore/tox.api.h | |||
@@ -14,6 +14,8 @@ | |||
14 | #include <stddef.h> | 14 | #include <stddef.h> |
15 | #include <stdint.h> | 15 | #include <stdint.h> |
16 | 16 | ||
17 | //!TOKSTYLE- | ||
18 | |||
17 | #ifdef __cplusplus | 19 | #ifdef __cplusplus |
18 | extern "C" { | 20 | extern "C" { |
19 | #endif | 21 | #endif |
@@ -2854,5 +2856,7 @@ typedef TOX_CONNECTION Tox_Connection; | |||
2854 | typedef TOX_FILE_CONTROL Tox_File_Control; | 2856 | typedef TOX_FILE_CONTROL Tox_File_Control; |
2855 | typedef TOX_CONFERENCE_TYPE Tox_Conference_Type; | 2857 | typedef TOX_CONFERENCE_TYPE Tox_Conference_Type; |
2856 | 2858 | ||
2859 | //!TOKSTYLE+ | ||
2860 | |||
2857 | #endif // C_TOXCORE_TOXCORE_TOX_H | 2861 | #endif // C_TOXCORE_TOXCORE_TOX_H |
2858 | %} | 2862 | %} |