7#ifndef GHOSTTY_VT_TYPES_H
8#define GHOSTTY_VT_TYPES_H
21#if defined(GHOSTTY_STATIC)
23#elif defined(_WIN32) || defined(_WIN64)
24 #ifdef GHOSTTY_BUILD_SHARED
25 #define GHOSTTY_API __declspec(dllexport)
27 #define GHOSTTY_API __declspec(dllimport)
29#elif defined(__GNUC__) && __GNUC__ >= 4
30 #define GHOSTTY_API __attribute__((visibility("default")))
64#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
65#define GHOSTTY_ENUM_TYPED : int
67#define GHOSTTY_ENUM_TYPED
69#define GHOSTTY_ENUM_MAX_VALUE INT_MAX
85 GHOSTTY_RESULT_MAX_VALUE = GHOSTTY_ENUM_MAX_VALUE,
219#define GHOSTTY_INIT_SIZED(type) \
220 ((type){ .size = sizeof(type) })
struct GhosttyKittyGraphicsImpl * GhosttyKittyGraphics
struct GhosttyKittyGraphicsPlacementIteratorImpl * GhosttyKittyGraphicsPlacementIterator
const struct GhosttyKittyGraphicsImageImpl * GhosttyKittyGraphicsImage
struct GhosttyOscParserImpl * GhosttyOscParser
struct GhosttyOscCommandImpl * GhosttyOscCommand
struct GhosttyRenderStateRowIteratorImpl * GhosttyRenderStateRowIterator
struct GhosttyRenderStateImpl * GhosttyRenderState
struct GhosttyRenderStateRowCellsImpl * GhosttyRenderStateRowCells
struct GhosttySgrParserImpl * GhosttySgrParser
struct GhosttyTerminalImpl * GhosttyTerminal
GHOSTTY_API const char * ghostty_type_json(void)
#define GHOSTTY_ENUM_TYPED