aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/converter.h
blob: e74e3fb084e4022804c16effe46568ae14c5b3ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef NVIM_LUA_CONVERTER_H
#define NVIM_LUA_CONVERTER_H

#include <lua.h>
#include <stdbool.h>
#include <stdint.h>

#include "nvim/api/private/defs.h"
#include "nvim/func_attr.h"
#include "nvim/eval.h"

typedef struct {
    LuaRef func_ref;
} LuaCallable;

typedef struct {
    LuaCallable lua_callable;
} LuaCFunctionState;

#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "lua/converter.h.generated.h"
#endif
#endif  // NVIM_LUA_CONVERTER_H