

def start(self, callback, sig_num):
    'Start the signal listener\n\n        :type callback: Callable(sig_handle: Signal, sig_num: int)\n        :type sig_num: int\n        '

    def cb_wrapper(uv_signal_t, signum):
        callback(self, signum)
    ffi_cb = ffi.callback('void (*)(uv_signal_t *, int)', cb_wrapper)
    self._ffi_cb = ffi_cb
    libuv.uv_signal_start(self.handle, callback, sig_num)

dataset/ETHPy150Open veegee/guv/pyuv_cffi/__init__.py Signal.start/VarMisuse@60/145 `ffi_cb`->`callback`