ghostty_snapshot_encode_alloc function

GhosttyResult ghostty_snapshot_encode_alloc(
  1. GhosttyTerminal terminal,
  2. Pointer<GhosttyAllocator> allocator,
  3. Pointer<Pointer<Uint8>> out_ptr,
  4. Pointer<Size> out_len,
)

Implementation

GhosttyResult ghostty_snapshot_encode_alloc(
  GhosttyTerminal terminal,
  ffi.Pointer<GhosttyAllocator> allocator,
  ffi.Pointer<ffi.Pointer<ffi.Uint8>> out_ptr,
  ffi.Pointer<ffi.Size> out_len,
) => GhosttyResult.fromValue(
  _ghostty_snapshot_encode_alloc(terminal, allocator, out_ptr, out_len),
);