summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-05-25 15:20:38 -0400
committerirungentoo <irungentoo@gmail.com>2015-05-25 15:20:38 -0400
commit441e0073625b7ae9c69e977f510a8295e388a198 (patch)
treede8c8cab502e92a16205106cb51b6dc6d3e7d35b /toxcore
parent8a32b3a12f59f8a01554b7a4ec98bd929633ba35 (diff)
tox_new returns NULL on failure.
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/tox.h2
1 files changed, 2 insertions, 0 deletions
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