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 /toxav/toxav.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 'toxav/toxav.api.h')
-rw-r--r-- | toxav/toxav.api.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toxav/toxav.api.h b/toxav/toxav.api.h index 158f74e6..269fd3d7 100644 --- a/toxav/toxav.api.h +++ b/toxav/toxav.api.h | |||
@@ -10,6 +10,8 @@ | |||
10 | #include <stddef.h> | 10 | #include <stddef.h> |
11 | #include <stdint.h> | 11 | #include <stdint.h> |
12 | 12 | ||
13 | //!TOKSTYLE- | ||
14 | |||
13 | #ifdef __cplusplus | 15 | #ifdef __cplusplus |
14 | extern "C" { | 16 | extern "C" { |
15 | #endif | 17 | #endif |
@@ -686,5 +688,7 @@ typedef TOXAV_ERR_BIT_RATE_SET Toxav_Err_Bit_Rate_Set; | |||
686 | typedef TOXAV_ERR_SEND_FRAME Toxav_Err_Send_Frame; | 688 | typedef TOXAV_ERR_SEND_FRAME Toxav_Err_Send_Frame; |
687 | typedef TOXAV_CALL_CONTROL Toxav_Call_Control; | 689 | typedef TOXAV_CALL_CONTROL Toxav_Call_Control; |
688 | 690 | ||
691 | //!TOKSTYLE+ | ||
692 | |||
689 | #endif // C_TOXCORE_TOXAV_TOXAV_H | 693 | #endif // C_TOXCORE_TOXAV_TOXAV_H |
690 | %} | 694 | %} |