Macros | Functions
executor.h File Reference
#include <lua.h>
#include <lauxlib.h>
#include "nvim/api/private/defs.h"
#include "nvim/func_attr.h"
#include "nvim/eval/typval.h"
#include "nvim/ex_cmds_defs.h"

Go to the source code of this file.

Macros

#define set_api_error(s, err)
 

Functions

void nlua_add_api_functions (lua_State *lstate) REAL_FATTR_NONNULL_ALL
 
EXTERN LuaRef nlua_nil_ref INIT (=LUA_NOREF)
 

Macro Definition Documentation

#define set_api_error (   s,
  err 
)
Value:
do { \
Error *err_ = (err); \
err_->type = kErrorTypeException; \
err_->set = true; \
memcpy(&err_->msg[0], s, sizeof(s)); \
} while (0)
Definition: defs.h:27
char_u * s
Definition: eval.c:844

Function Documentation

EXTERN LuaRef nlua_nil_ref INIT ( )
void nlua_add_api_functions ( lua_State *  lstate)