diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-11-20 21:31:13 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-11-21 00:16:59 +0000 |
commit | 75a33d220106f66e3abe80409a10cb55130fc457 (patch) | |
tree | f6d39d9bea1b2f80ce914d2d778e76269949e8ac /toxcore/tox.h | |
parent | 3bc5ad1c1331fa28f76e2ba26392f65965f04326 (diff) |
Mark Tox_Options struct as deprecated.
We will remove it in v0.1.
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 af25d8fa..ef738422 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -482,9 +482,10 @@ typedef void tox_log_cb(Tox *tox, TOX_LOG_LEVEL level, const char *file, uint32_ | |||
482 | * in future versions of the API, code that allocates it itself will become | 482 | * in future versions of the API, code that allocates it itself will become |
483 | * incompatible. | 483 | * incompatible. |
484 | * | 484 | * |
485 | * The memory layout of this struct (size, alignment, and field order) is not | 485 | * @deprecated The memory layout of this struct (size, alignment, and field |
486 | * part of the ABI. To remain compatible, prefer to use tox_options_new to allocate the | 486 | * order) is not part of the ABI. To remain compatible, prefer to use tox_options_new to |
487 | * object and accessor functions to set the members. | 487 | * allocate the object and accessor functions to set the members. The struct |
488 | * will become opaque (i.e. the definition will become private) in v0.1.0. | ||
488 | */ | 489 | */ |
489 | struct Tox_Options { | 490 | struct Tox_Options { |
490 | 491 | ||