summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--other/apidsl/tox.in.h2
-rw-r--r--toxcore/tox.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/other/apidsl/tox.in.h b/other/apidsl/tox.in.h
index b769135a..5b371c17 100644
--- a/other/apidsl/tox.in.h
+++ b/other/apidsl/tox.in.h
@@ -516,6 +516,8 @@ static class options {
516 * NULL, the default options are used. 516 * NULL, the default options are used.
517 * 517 *
518 * @see $iterate for the event loop. 518 * @see $iterate for the event loop.
519 *
520 * @return A new Tox instance pointer on success or NULL on failure.
519 */ 521 */
520static this new(const options_t *options) { 522static this new(const options_t *options) {
521 NULL, 523 NULL,
diff --git a/toxcore/tox.h b/toxcore/tox.h
index b556d138..038a366f 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -609,6 +609,8 @@ typedef enum TOX_ERR_NEW {
609 * NULL, the default options are used. 609 * NULL, the default options are used.
610 * 610 *
611 * @see tox_iterate for the event loop. 611 * @see tox_iterate for the event loop.
612 *
613 * @return A new Tox instance pointer on success or NULL on failure.
612 */ 614 */
613Tox *tox_new(const struct Tox_Options *options, TOX_ERR_NEW *error); 615Tox *tox_new(const struct Tox_Options *options, TOX_ERR_NEW *error);
614 616