Lutok  0.4
 All Classes Namespaces Files Functions Variables Macros
Functions
operations.hpp File Reference

Extra generic functions to interact with Lua. More...

#include <map>
#include <string>
#include <vector>
#include <lutok/state.hpp>

Go to the source code of this file.

Functions

void lutok::create_module (state &, const std::string &, const std::map< std::string, cxx_function > &)
 Creates a module: i.e.
unsigned int lutok::do_file (state &, const std::string &, const int, const int, const int)
 Loads and processes a Lua file.
unsigned int lutok::do_string (state &, const std::string &, const int, const int, const int)
 Processes a Lua script.
void lutok::eval (state &, const std::string &, const int)
 Convenience function to evaluate a Lua expression.

Detailed Description

Extra generic functions to interact with Lua.