fixed broken ft callback
This commit is contained in:
parent
74a5f95a56
commit
fa3529f5f2
1 changed files with 1 additions and 1 deletions
|
@ -1340,7 +1340,7 @@ class Tox:
|
||||||
Size in bytes (c_size_t) of the filename.
|
Size in bytes (c_size_t) of the filename.
|
||||||
pointer (c_void_p) to user_data
|
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.file_recv_cb = c_callback(callback)
|
||||||
self.libtoxcore.tox_callback_file_recv(self._tox_pointer, self.file_recv_cb)
|
self.libtoxcore.tox_callback_file_recv(self._tox_pointer, self.file_recv_cb)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue