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
 

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 * s
Definition: message.c:739

Function Documentation

void nlua_add_api_functions ( lua_State *  lstate)