GhosttyReaderFnFunction typedef

GhosttyReaderFnFunction = Bool Function(Pointer<Void> userdata, Pointer<Uint8> buffer, Size capacity, Pointer<Size> out_read)

Implementation

typedef GhosttyReaderFnFunction = ffi.Bool Function(
  ffi.Pointer<ffi.Void> userdata,
  ffi.Pointer<ffi.Uint8> buffer,
  ffi.Size capacity,
  ffi.Pointer<ffi.Size> out_read,
);