lua: Move files from src/nvim/viml/executor to src/nvim/lua

This commit is contained in:
ZyX
2017-04-11 01:09:36 +03:00
parent 1751ec192d
commit f98a3d85ed
9 changed files with 15 additions and 16 deletions

25
src/nvim/lua/executor.h Normal file
View File

@@ -0,0 +1,25 @@
#ifndef NVIM_VIML_EXECUTOR_EXECUTOR_H
#define NVIM_VIML_EXECUTOR_EXECUTOR_H
#include <lua.h>
#include "nvim/api/private/defs.h"
#include "nvim/func_attr.h"
#include "nvim/eval/typval.h"
#include "nvim/ex_cmds_defs.h"
// Generated by msgpack-gen.lua
void nlua_add_api_functions(lua_State *lstate) REAL_FATTR_NONNULL_ALL;
#define set_api_error(s, err) \
do { \
Error *err_ = (err); \
err_->type = kErrorTypeException; \
err_->set = true; \
memcpy(&err_->msg[0], s, sizeof(s)); \
} while (0)
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "lua/executor.h.generated.h"
#endif
#endif // NVIM_VIML_EXECUTOR_EXECUTOR_H