MDB_msg_func typedef

MDB_msg_func = NativeFunction<Int Function(Pointer<Char> msg, Pointer<Void> ctx)>

@brief A callback function used to print a message from the library.

@paramin msg The string to be printed. @paramin ctx An arbitrary context pointer for the callback. @return < 0 on failure, >= 0 on success.

Implementation

typedef MDB_msg_func = ffi.NativeFunction<
    ffi.Int Function(ffi.Pointer<ffi.Char> msg, ffi.Pointer<ffi.Void> ctx)>;