mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-09-08 23:18:51 +00:00
core: add tests for ghostty.h
* ensure that `ghostty.h` compiles during basic Zig tests * ensure that non-exhaustive enums are kept synchronized between `ghostty.h` and their respective Zig counterpart. * adjust some enums that varied from established conventions
This commit is contained in:
@@ -586,9 +586,9 @@ typedef enum {
|
||||
// apprt.action.Fullscreen
|
||||
typedef enum {
|
||||
GHOSTTY_FULLSCREEN_NATIVE,
|
||||
GHOSTTY_FULLSCREEN_NON_NATIVE,
|
||||
GHOSTTY_FULLSCREEN_NON_NATIVE_VISIBLE_MENU,
|
||||
GHOSTTY_FULLSCREEN_NON_NATIVE_PADDED_NOTCH,
|
||||
GHOSTTY_FULLSCREEN_MACOS_NON_NATIVE,
|
||||
GHOSTTY_FULLSCREEN_MACOS_NON_NATIVE_VISIBLE_MENU,
|
||||
GHOSTTY_FULLSCREEN_MACOS_NON_NATIVE_PADDED_NOTCH,
|
||||
} ghostty_action_fullscreen_e;
|
||||
|
||||
// apprt.action.FloatWindow
|
||||
@@ -718,7 +718,7 @@ typedef struct {
|
||||
|
||||
// renderer.Health
|
||||
typedef enum {
|
||||
GHOSTTY_RENDERER_HEALTH_OK,
|
||||
GHOSTTY_RENDERER_HEALTH_HEALTHY,
|
||||
GHOSTTY_RENDERER_HEALTH_UNHEALTHY,
|
||||
} ghostty_action_renderer_health_e;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user