#include "AppHdr.h"
#include "clua.h"
#include "cluautil.h"
#include "dlua.h"
#include "l_libs.h"
#include "files.h"
#include "libutil.h"
#include "state.h"
#include "stuff.h"
#include <algorithm>
Classes | |
struct | lua_pat_op |
Defines | |
#define | BUGGY_PCALL_ERROR "667: Malformed response to guarded pcall." |
#define | BUGGY_SCRIPT_ERROR "666: Killing badly-behaved Lua script." |
#define | CL_RESETSTACK_RETURN(ls, oldtop, retval) |
#define | LUA_CHECK_TYPE(check) |
Functions | |
std::string | quote_lua_string (const std::string &s) |
#define BUGGY_PCALL_ERROR "667: Malformed response to guarded pcall." |
#define BUGGY_SCRIPT_ERROR "666: Killing badly-behaved Lua script." |
#define CL_RESETSTACK_RETURN | ( | ls, | |||
oldtop, | |||||
retval | ) |
Value:
do \ {\ if (oldtop != lua_gettop(ls)) \ { \ lua_settop(ls, oldtop); \ } \ return (retval); \ } \ while (false)
#define LUA_CHECK_TYPE | ( | check | ) |
Value:
lua_stack_cleaner clean(lua); \ push(); \ return check(lua, -1)
std::string quote_lua_string | ( | const std::string & | s | ) |