clua.cc File Reference

#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>

Include dependency graph for clua.cc:


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 Documentation

#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)


Function Documentation

std::string quote_lua_string ( const std::string s  ) 

Here is the call graph for this function:


Generated on Thu Jan 13 13:03:32 2011 by  doxygen 1.5.6