fixed broken ft callback

This commit is contained in:
ingvar1995 2018-05-25 16:55:36 +03:00
parent 74a5f95a56
commit fa3529f5f2

View file

@ -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)