summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/api_main.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-04-27 12:44:53 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-04-27 12:44:53 +0000
commit6524ac4e637dba2de42df5ca6eac4a9a5501a4d2 (patch)
tree7dcf19e3e117b2cd5479615f12425518cb7fe3d8 /protocols/Tox/src/api_main.cpp
parent497a5b44f0784b488ede3e450cdb2b281c7a86d8 (diff)
Tox:
- attempt to fix avatar hash - some changes with toxThread git-svn-id: http://svn.miranda-ng.org/main/trunk@16773 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/api_main.cpp')
-rw-r--r--protocols/Tox/src/api_main.cpp5
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);