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)