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

Go to the source code of this file.

Data Structures

struct  nlua_ref_state_t
 

Macros

#define NLUA_CLEAR_REF(x)
 

Functions

void nlua_add_api_functions (lua_State *lstate) REAL_FATTR_NONNULL_ALL
 
EXTERN nlua_ref_state_t *nlua_global_refs INIT (=NULL)
 

Macro Definition Documentation

◆ NLUA_CLEAR_REF

#define NLUA_CLEAR_REF (   x)
Value:
do { \
/* Take the address to avoid double evaluation. #1375 */ \
if ((x) != LUA_NOREF) { \
api_free_luaref(x); \
(x) = LUA_NOREF; \
} \
} while (0)

Function Documentation

◆ INIT()

EXTERN nlua_ref_state_t* nlua_global_refs INIT ( )

◆ nlua_add_api_functions()

void nlua_add_api_functions ( lua_State *  lstate)