libghostty
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1
6
7
#ifndef GHOSTTY_VT_TYPES_H
8
#define GHOSTTY_VT_TYPES_H
9
13
typedef
enum
{
15
GHOSTTY_SUCCESS
= 0,
17
GHOSTTY_OUT_OF_MEMORY
= -1,
19
GHOSTTY_INVALID_VALUE
= -2,
21
GHOSTTY_OUT_OF_SPACE
= -3,
22
}
GhosttyResult
;
23
42
#define GHOSTTY_INIT_SIZED(type) \
43
((type){ .size = sizeof(type) })
44
45
#endif
/* GHOSTTY_VT_TYPES_H */
GhosttyResult
GhosttyResult
Definition
types.h:13
GHOSTTY_OUT_OF_SPACE
@ GHOSTTY_OUT_OF_SPACE
Definition
types.h:21
GHOSTTY_INVALID_VALUE
@ GHOSTTY_INVALID_VALUE
Definition
types.h:19
GHOSTTY_OUT_OF_MEMORY
@ GHOSTTY_OUT_OF_MEMORY
Definition
types.h:17
GHOSTTY_SUCCESS
@ GHOSTTY_SUCCESS
Definition
types.h:15
include
ghostty
vt
types.h
Generated by
1.16.1