summaryrefslogtreecommitdiff
path: root/toxcore/ping_array.api.h
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2020-04-09 23:56:19 +0000
committeriphydf <iphydf@users.noreply.github.com>2020-04-16 11:05:08 +0000
commitc08b2fb3e2c3c8e8a5722e7350b61efd6992be45 (patch)
treebc6f5738bb6a948146cedb612cc12abb3e158fb4 /toxcore/ping_array.api.h
parent7f9f8045cd6f8d92559cdc9f7d297cf92e960e49 (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/ping_array.api.h')
-rw-r--r--toxcore/ping_array.api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/ping_array.api.h b/toxcore/ping_array.api.h
index 81ede8fa..d36e56dc 100644
--- a/toxcore/ping_array.api.h
+++ b/toxcore/ping_array.api.h
@@ -20,7 +20,7 @@ extern "C" {
20 20
21class mono_Time { struct this; } 21class mono_Time { struct this; }
22 22
23class ping_Array { 23class ping { class array {
24 24
25struct this; 25struct this;
26 26
@@ -55,7 +55,7 @@ uint64_t add(const mono_Time::this *mono_time, const uint8_t *data, uint32_t len
55 */ 55 */
56int32_t check(const mono_Time::this *mono_time, uint8_t[length] data, uint64_t ping_id); 56int32_t check(const mono_Time::this *mono_time, uint8_t[length] data, uint64_t ping_id);
57 57
58} 58} }
59 59
60%{ 60%{
61#ifdef __cplusplus 61#ifdef __cplusplus