diff options
-rw-r--r-- | other/apidsl/tox.in.h | 2 | ||||
-rw-r--r-- | toxcore/tox.h | 2 |
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 | */ |
520 | static this new(const options_t *options) { | 522 | static 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 | */ |
613 | Tox *tox_new(const struct Tox_Options *options, TOX_ERR_NEW *error); | 615 | Tox *tox_new(const struct Tox_Options *options, TOX_ERR_NEW *error); |
614 | 616 | ||