libghostty
Loading...
Searching...
No Matches
GhosttyString Struct Reference

#include <ghostty/vt/types.h>

Data Fields

const uint8_t * ptr
size_t len

Detailed Description

A borrowed byte string (pointer + length).

The memory is not owned by this struct. The pointer is only valid for the lifetime documented by the API that produces or consumes it.

Examples
c-vt-build-info/src/main.c.

Definition at line 193 of file types.h.

Field Documentation

◆ len

size_t len

Length of the string in bytes.

Examples
c-vt-build-info/src/main.c.

Definition at line 198 of file types.h.

◆ ptr

const uint8_t* ptr

Pointer to the string bytes.

Examples
c-vt-build-info/src/main.c.

Definition at line 195 of file types.h.


The documentation for this struct was generated from the following file: