From fa3529f5f27db7720335a1da28245e404e172d9b Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Fri, 25 May 2018 16:55:36 +0300 Subject: [PATCH] fixed broken ft callback --- toxygen/wrapper/tox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toxygen/wrapper/tox.py b/toxygen/wrapper/tox.py index 9d955a4..b4c401c 100644 --- a/toxygen/wrapper/tox.py +++ b/toxygen/wrapper/tox.py @@ -1340,7 +1340,7 @@ class Tox: Size in bytes (c_size_t) of the filename. pointer (c_void_p) to user_data """ - c_callback = CFUNCTYPE(None, c_void_p, c_uint32, c_uint32, c_uint32, c_uint64, c_char_p, c_size_t) + c_callback = CFUNCTYPE(None, c_void_p, c_uint32, c_uint32, c_uint32, c_uint64, c_char_p, c_size_t, c_void_p) self.file_recv_cb = c_callback(callback) self.libtoxcore.tox_callback_file_recv(self._tox_pointer, self.file_recv_cb)