diff options
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r-- | toxcore/tox.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h index 08727d2a..469a1f78 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -606,10 +606,11 @@ void tox_do(Tox *tox); | |||
606 | * Prepares the data required to call tox_wait_execute() asynchronously | 606 | * Prepares the data required to call tox_wait_execute() asynchronously |
607 | * | 607 | * |
608 | * data[] is reserved and kept by the caller | 608 | * data[] is reserved and kept by the caller |
609 | * len is in/out: in = reserved data[], out = required data[] | 609 | * *lenptr is in/out: in = reserved data[], out = required data[] |
610 | * | 610 | * |
611 | * returns 1 on success | 611 | * returns 1 on success |
612 | * returns 0 on failure (length is insufficient) | 612 | * returns 0 if *lenptr is insufficient |
613 | * returns -1 if lenptr is NULL | ||
613 | * | 614 | * |
614 | * | 615 | * |
615 | * tox_wait_execute(): function can be called asynchronously | 616 | * tox_wait_execute(): function can be called asynchronously |