summaryrefslogtreecommitdiff
path: root/toxcore/tox.api.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/tox.api.h')
-rw-r--r--toxcore/tox.api.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/toxcore/tox.api.h b/toxcore/tox.api.h
index e73402de..f9712b7e 100644
--- a/toxcore/tox.api.h
+++ b/toxcore/tox.api.h
@@ -623,6 +623,21 @@ static class options {
623 */ 623 */
624 any user_data; 624 any user_data;
625 } 625 }
626
627 /**
628 * These options are experimental, so avoid writing code that depends on
629 * them. Options marked "experimental" may change their behaviour or go away
630 * entirely in the future, or may be renamed to something non-experimental
631 * if they become part of the supported API.
632 */
633 namespace experimental {
634 /**
635 * Make public API functions thread-safe using a per-instance lock.
636 *
637 * Default: false.
638 */
639 bool thread_safety;
640 }
626 } 641 }
627 642
628 643