typedef mlx_error_handler_funcFunction = ffi.Void Function(ffi.Pointer<ffi.Char> msg, ffi.Pointer<ffi.Void> data);