OOLua  2.0.1
C++ and Lua binding
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
oolua_chunk.h File Reference

Provides methods for loading and running chunks. More...

#include <string>

Namespaces

 OOLUA
 This is the root namespace of the Library.
 

Functions

bool OOLUA::load_chunk (lua_State *vm, std::string const &chunk)
 Loads a chunk leaving the resulting function on the stack. More...
 
bool OOLUA::run_chunk (lua_State *vm, std::string const &chunk)
 Loads and runs a chunk of code. More...
 
bool OOLUA::load_file (lua_State *vm, std::string const &filename)
 Loads a file leaving the resulting function on the stack. More...
 
bool OOLUA::run_file (lua_State *vm, std::string const &filename)
 Loads and runs the file. More...
 

Detailed Description

Provides methods for loading and running chunks.