ggml_log_callback typedef

ggml_log_callback = Pointer<NativeFunction<Void Function(Int32 level, Pointer<Char> text, Pointer<Void> user_data)>>

TODO these functions were sandwiched in the old optimization interface, is there a better place for them?

Implementation

typedef ggml_log_callback = ffi.Pointer<
    ffi.NativeFunction<
        ffi.Void Function(ffi.Int32 level, ffi.Pointer<ffi.Char> text,
            ffi.Pointer<ffi.Void> user_data)>>;