msvc fixes

This commit is contained in:
Green Sky 2023-06-16 17:10:15 +02:00
parent 622c9d9d96
commit e4f6f5eb22
No known key found for this signature in database
3 changed files with 6 additions and 1 deletions

@ -1 +1 @@
Subproject commit 27aeb03a61d7fabb37b19272122fa38f7169fedf Subproject commit c9f5e73e4296339529ecb111e2a027478f6d7c9d

View File

@ -9,6 +9,7 @@
#include <unordered_map> #include <unordered_map>
#include <map> #include <map>
#include <optional>
#include <vector> #include <vector>
#include <deque> #include <deque>
#include <random> #include <random>

View File

@ -2,6 +2,8 @@
#include <tox/tox.h> #include <tox/tox.h>
extern "C" {
// logging // logging
void log_cb(Tox *tox, TOX_LOG_LEVEL level, const char *file, uint32_t line, const char *func, const char *message, void *user_data); void log_cb(Tox *tox, TOX_LOG_LEVEL level, const char *file, uint32_t line, const char *func, const char *message, void *user_data);
@ -52,3 +54,5 @@ bool ft1_recv_init_sha1_chunk_cb(Tox *tox, uint32_t group_number, uint32_t peer_
void ft1_recv_data_sha1_chunk_cb(Tox *tox, uint32_t group_number, uint32_t peer_number, uint8_t transfer_id, size_t data_offset, const uint8_t* data, size_t data_size, void* user_data); void ft1_recv_data_sha1_chunk_cb(Tox *tox, uint32_t group_number, uint32_t peer_number, uint8_t transfer_id, size_t data_offset, const uint8_t* data, size_t data_size, void* user_data);
void ft1_send_data_sha1_chunk_cb(Tox *tox, uint32_t group_number, uint32_t peer_number, uint8_t transfer_id, size_t data_offset, uint8_t* data, size_t data_size, void* user_data); void ft1_send_data_sha1_chunk_cb(Tox *tox, uint32_t group_number, uint32_t peer_number, uint8_t transfer_id, size_t data_offset, uint8_t* data, size_t data_size, void* user_data);
} // extern C