Lutok  0.2
 All Classes Namespaces Files Functions Variables Defines
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=0)
 Loads and processes a Lua file.
unsigned int lutok::do_string (state &, const std::string &, const int=0)
 Processes a Lua script.
void lutok::eval (state &, const std::string &, const int=1)
 Convenience function to evaluate a Lua expression.

Detailed Description

Extra generic functions to interact with Lua.