ghostty_terminal_selection_format_alloc function

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

Implementation

GhosttyResult ghostty_terminal_selection_format_alloc(
  GhosttyTerminal terminal,
  ffi.Pointer<GhosttyAllocator> allocator,
  GhosttyTerminalSelectionFormatOptions options,
  ffi.Pointer<ffi.Pointer<ffi.Uint8>> out_ptr,
  ffi.Pointer<ffi.Size> out_len,
) => GhosttyResult.fromValue(
  _ghostty_terminal_selection_format_alloc(
    terminal,
    allocator,
    options,
    out_ptr,
    out_len,
  ),
);