diff options
author | Gregory Mullen (grayhatter) <greg@grayhatter.com> | 2016-09-11 16:27:03 -0700 |
---|---|---|
committer | Gregory Mullen (grayhatter) <greg@grayhatter.com> | 2016-09-17 14:05:51 -0700 |
commit | 21f8db12c45bd56293262cd4abfb73cd9abec821 (patch) | |
tree | 580729367d00e1eb7e0c4d533777d22af7d7ffc5 /other/apidsl/toxav.in.h | |
parent | 5da85c582d97d746887da407153afc0acf0a4215 (diff) |
Make ToxAV stateless
Diffstat (limited to 'other/apidsl/toxav.in.h')
-rw-r--r-- | other/apidsl/toxav.in.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/other/apidsl/toxav.in.h b/other/apidsl/toxav.in.h index 8a7d5358..67b670dc 100644 --- a/other/apidsl/toxav.in.h +++ b/other/apidsl/toxav.in.h | |||
@@ -216,7 +216,7 @@ const uint32_t iteration_interval(); | |||
216 | * toxav_iteration_interval() milliseconds. It is best called in the separate | 216 | * toxav_iteration_interval() milliseconds. It is best called in the separate |
217 | * thread from tox_iterate. | 217 | * thread from tox_iterate. |
218 | */ | 218 | */ |
219 | void iterate(); | 219 | void iterate(any userdata); |
220 | 220 | ||
221 | 221 | ||
222 | /******************************************************************************* | 222 | /******************************************************************************* |
@@ -269,7 +269,7 @@ bool call(uint32_t friend_number, uint32_t audio_bit_rate, uint32_t video_bit_ra | |||
269 | INVALID_BIT_RATE, | 269 | INVALID_BIT_RATE, |
270 | } | 270 | } |
271 | 271 | ||
272 | event call { | 272 | event call const { |
273 | /** | 273 | /** |
274 | * The function type for the ${event call} callback. | 274 | * The function type for the ${event call} callback. |
275 | * | 275 | * |
@@ -359,7 +359,7 @@ bitmask FRIEND_CALL_STATE { | |||
359 | ACCEPTING_V, | 359 | ACCEPTING_V, |
360 | } | 360 | } |
361 | 361 | ||
362 | event call_state { | 362 | event call_state const { |
363 | /** | 363 | /** |
364 | * The function type for the ${event call_state} callback. | 364 | * The function type for the ${event call_state} callback. |
365 | * | 365 | * |
@@ -490,7 +490,7 @@ namespace bit_rate { | |||
490 | FRIEND_NOT_IN_CALL, | 490 | FRIEND_NOT_IN_CALL, |
491 | } | 491 | } |
492 | 492 | ||
493 | event status { | 493 | event status const { |
494 | /** | 494 | /** |
495 | * The function type for the ${event status} callback. The event is triggered | 495 | * The function type for the ${event status} callback. The event is triggered |
496 | * when the network becomes too saturated for current bit rates at which | 496 | * when the network becomes too saturated for current bit rates at which |
@@ -601,7 +601,7 @@ namespace video { | |||
601 | 601 | ||
602 | 602 | ||
603 | namespace audio { | 603 | namespace audio { |
604 | event receive_frame { | 604 | event receive_frame const { |
605 | /** | 605 | /** |
606 | * The function type for the ${event receive_frame} callback. The callback can be | 606 | * The function type for the ${event receive_frame} callback. The callback can be |
607 | * called multiple times per single iteration depending on the amount of queued | 607 | * called multiple times per single iteration depending on the amount of queued |
@@ -620,7 +620,7 @@ namespace audio { | |||
620 | } | 620 | } |
621 | 621 | ||
622 | namespace video { | 622 | namespace video { |
623 | event receive_frame { | 623 | event receive_frame const { |
624 | /** | 624 | /** |
625 | * The function type for the ${event receive_frame} callback. | 625 | * The function type for the ${event receive_frame} callback. |
626 | * | 626 | * |