mirror of
https://github.com/neovim/neovim.git
synced 2026-02-03 11:01:30 +10:00
33 lines
785 B
C
33 lines
785 B
C
#ifndef NVIM_TYPES_H
|
|
#define NVIM_TYPES_H
|
|
|
|
#include <stdint.h>
|
|
|
|
// dummy to pass an ACL to a function
|
|
typedef void *vim_acl_T;
|
|
|
|
// Shorthand for unsigned variables. Many systems, but not all, have u_char
|
|
// already defined, so we use char_u to avoid trouble.
|
|
typedef unsigned char char_u;
|
|
|
|
// Can hold one decoded UTF-8 character.
|
|
typedef uint32_t u8char_T;
|
|
|
|
// Opaque handle used by API clients to refer to various objects in vim
|
|
typedef int handle_T;
|
|
|
|
// Opaque handle to a lua value. Must be free with `executor_free_luaref` when
|
|
// not needed anymore! LUA_NOREF represents missing reference, i e to indicate
|
|
// absent callback etc.
|
|
typedef int LuaRef;
|
|
|
|
typedef struct expand expand_T;
|
|
|
|
typedef enum {
|
|
kNone = -1,
|
|
kFalse = 0,
|
|
kTrue = 1,
|
|
} TriState;
|
|
|
|
#endif // NVIM_TYPES_H
|