mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-20 06:20:32 +00:00
apprt/embedded: add iOS platform with uivew
This commit is contained in:
@@ -33,6 +33,7 @@ typedef void *ghostty_inspector_t;
|
||||
typedef enum {
|
||||
GHOSTTY_PLATFORM_INVALID,
|
||||
GHOSTTY_PLATFORM_MACOS,
|
||||
GHOSTTY_PLATFORM_IOS,
|
||||
} ghostty_platform_e;
|
||||
|
||||
typedef enum {
|
||||
@@ -358,8 +359,13 @@ typedef struct {
|
||||
void *nsview;
|
||||
} ghostty_platform_macos_s;
|
||||
|
||||
typedef struct {
|
||||
void *uiview;
|
||||
} ghostty_platform_ios_s;
|
||||
|
||||
typedef union {
|
||||
ghostty_platform_macos_s macos;
|
||||
ghostty_platform_ios_s ios;
|
||||
} ghostty_platform_u;
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user