libusb_log_cb typedef

libusb_log_cb = Pointer<NativeFunction<Void Function(Pointer<libusb_context>, Int32, Pointer)>>

\ingroup libusb_lib Callback function for handling log messages. \param ctx the context which is related to the log message, or NULL if it is a global log message \param level the log level, see \ref libusb_log_level for a description \param str the log message \see libusb_set_log_cb()

Implementation

typedef libusb_log_cb = ffi.Pointer<
    ffi.NativeFunction<
        ffi.Void Function(ffi.Pointer<libusb_context>, ffi.Int32,
            ffi.Pointer<pkg_ffi.Char>)>>;