aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/converter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/lua/converter.h')
-rw-r--r--src/nvim/lua/converter.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/lua/converter.h b/src/nvim/lua/converter.h
index 542c56ea3e..8601a32418 100644
--- a/src/nvim/lua/converter.h
+++ b/src/nvim/lua/converter.h
@@ -9,6 +9,15 @@
#include "nvim/func_attr.h"
#include "nvim/eval.h"
+typedef struct {
+ LuaRef func_ref;
+ LuaRef table_ref;
+} LuaCallable;
+
+typedef struct {
+ LuaCallable lua_callable;
+} LuaCFunctionState;
+
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "lua/converter.h.generated.h"
#endif