forked from redo/BlockLua
Fix all warnings and errors in C++
This commit is contained in:
16
src/luainterp.hpp
Normal file
16
src/luainterp.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
// Shared declarations for Lua <-> TS argument handling
|
||||
#ifndef _H_LUAINTERP_SHARED
|
||||
#define _H_LUAINTERP_SHARED
|
||||
|
||||
#include "lua.h"
|
||||
#define BLL_ARG_COUNT 20
|
||||
#define BLL_ARG_MAX 8192
|
||||
|
||||
extern char bll_arg_buffer[BLL_ARG_COUNT][BLL_ARG_MAX];
|
||||
bool bll_toarg(lua_State *L, char *buf, int i, bool err);
|
||||
int bll_pcall(lua_State *L, int nargs, int nret);
|
||||
void bll_printError(lua_State *L, const char *operation, const char *item);
|
||||
|
||||
extern lua_State *gL;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user