mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-07-22 09:01:32 +00:00
lib-vt: setup a default allocator if null
This commit is contained in:
@@ -14,7 +14,7 @@ extern "C" {
|
||||
//-------------------------------------------------------------------
|
||||
// Types
|
||||
|
||||
typedef struct GhosttyOscParser GhosttyOscParser;
|
||||
typedef struct GhosttyOscParser *GhosttyOscParser;
|
||||
|
||||
typedef enum {
|
||||
GHOSTTY_VT_SUCCESS = 0,
|
||||
@@ -131,6 +131,9 @@ typedef struct {
|
||||
//-------------------------------------------------------------------
|
||||
// Functions
|
||||
|
||||
GhosttyVtResult ghostty_vt_osc_new(const GhosttyVtAllocator*, GhosttyOscParser*);
|
||||
void ghostty_vt_osc_free(GhosttyOscParser);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user