diff options
Diffstat (limited to 'toxav')
-rw-r--r-- | toxav/BUILD.bazel | 7 | ||||
-rw-r--r-- | toxav/toxav.api.h | 4 | ||||
-rw-r--r-- | toxav/toxav.h | 4 |
3 files changed, 10 insertions, 5 deletions
diff --git a/toxav/BUILD.bazel b/toxav/BUILD.bazel index 33956aac..036bde3f 100644 --- a/toxav/BUILD.bazel +++ b/toxav/BUILD.bazel | |||
@@ -45,8 +45,8 @@ cc_library( | |||
45 | hdrs = ["bwcontroller.h"], | 45 | hdrs = ["bwcontroller.h"], |
46 | deps = [ | 46 | deps = [ |
47 | ":ring_buffer", | 47 | ":ring_buffer", |
48 | "//c-toxcore/toxcore", | ||
48 | "//c-toxcore/toxcore:Messenger", | 49 | "//c-toxcore/toxcore:Messenger", |
49 | "//c-toxcore/toxcore:toxcore", | ||
50 | ], | 50 | ], |
51 | ) | 51 | ) |
52 | 52 | ||
@@ -130,10 +130,7 @@ CIMPLE_SRCS = glob( | |||
130 | "*.c", | 130 | "*.c", |
131 | "*.h", | 131 | "*.h", |
132 | ], | 132 | ], |
133 | exclude = [ | 133 | exclude = ["*.api.h"], |
134 | "*.api.h", | ||
135 | "toxav.h", | ||
136 | ], | ||
137 | ) | 134 | ) |
138 | 135 | ||
139 | sh_test( | 136 | sh_test( |
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 | %} |
diff --git a/toxav/toxav.h b/toxav/toxav.h index 141ccb89..a96c85cb 100644 --- a/toxav/toxav.h +++ b/toxav/toxav.h | |||
@@ -9,6 +9,8 @@ | |||
9 | #include <stddef.h> | 9 | #include <stddef.h> |
10 | #include <stdint.h> | 10 | #include <stdint.h> |
11 | 11 | ||
12 | //!TOKSTYLE- | ||
13 | |||
12 | #ifdef __cplusplus | 14 | #ifdef __cplusplus |
13 | extern "C" { | 15 | extern "C" { |
14 | #endif | 16 | #endif |
@@ -815,4 +817,6 @@ typedef TOXAV_ERR_BIT_RATE_SET Toxav_Err_Bit_Rate_Set; | |||
815 | typedef TOXAV_ERR_SEND_FRAME Toxav_Err_Send_Frame; | 817 | typedef TOXAV_ERR_SEND_FRAME Toxav_Err_Send_Frame; |
816 | typedef TOXAV_CALL_CONTROL Toxav_Call_Control; | 818 | typedef TOXAV_CALL_CONTROL Toxav_Call_Control; |
817 | 819 | ||
820 | //!TOKSTYLE+ | ||
821 | |||
818 | #endif // C_TOXCORE_TOXAV_TOXAV_H | 822 | #endif // C_TOXCORE_TOXAV_TOXAV_H |