diff options
Diffstat (limited to 'protocols/Tox/src/api_main.cpp')
-rw-r--r-- | protocols/Tox/src/api_main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/Tox/src/api_main.cpp b/protocols/Tox/src/api_main.cpp index 5473c88f6f..a63bc729b8 100644 --- a/protocols/Tox/src/api_main.cpp +++ b/protocols/Tox/src/api_main.cpp @@ -7,6 +7,11 @@ struct Tox_Options *tox_options_new(TOX_ERR_OPTIONS_NEW *error) return CreateFunction<struct Tox_Options*(*)(TOX_ERR_OPTIONS_NEW*)>(__FUNCTION__)(error);
}
+void tox_options_default(struct Tox_Options *options)
+{
+ CreateFunction<void(*)(struct Tox_Options*)>(__FUNCTION__)(options);
+}
+
void tox_options_free(struct Tox_Options *options)
{
CreateFunction<void(*)(struct Tox_Options*)>(__FUNCTION__)(options);
|