Skip to main content

ghostty_row_get

Function ghostty_row_get 

Source
pub unsafe extern "C" fn ghostty_row_get(
    row: GhosttyRow,
    data: GhosttyRowData,
    out: *mut c_void,
) -> GhosttyResult
Expand description

Get data from a row.

Extracts typed data from the given row based on the specified data type. The output pointer must be of the appropriate type for the requested data kind. Valid data types and output types are documented in the GhosttyRowData enum.

@param row The row value @param data The type of data to extract @param out Pointer to store the extracted data (type depends on data parameter) @return GHOSTTY_SUCCESS on success, GHOSTTY_INVALID_VALUE if the data type is invalid

@ingroup screen