ghostty_formatter_format_alloc function

GhosttyResult ghostty_formatter_format_alloc(
  1. GhosttyFormatter formatter,
  2. Pointer<GhosttyAllocator> allocator,
  3. Pointer<Pointer<Uint8>> out_ptr,
  4. Pointer<Size> out_len,
)

Implementation

GhosttyResult ghostty_formatter_format_alloc(
  GhosttyFormatter formatter,
  ffi.Pointer<GhosttyAllocator> allocator,
  ffi.Pointer<ffi.Pointer<ffi.Uint8>> out_ptr,
  ffi.Pointer<ffi.Size> out_len,
) => GhosttyResult.fromValue(
  _ghostty_formatter_format_alloc(formatter, allocator, out_ptr, out_len),
);