#include "utils/functional.hpp"
#include <vector>
Go to the source code of this file.
|
void | lua_cpp::register_metatable (lua_State *L) |
|
void | lua_cpp::push_function (lua_State *L, const lua_function &f) |
| Pushes a std::function wrapper object onto the stack. More...
|
|
void | lua_cpp::set_functions (lua_State *L, const std::vector< lua_cpp::Reg > &functions) |
| Analogous to lua_setfuncs, it registers a collection of function wrapper objects into a table, using push_function. More...
|
|
template<int N> |
void | lua_cpp::set_functions (lua_State *L, const lua_cpp::Reg(&functions)[N]) |
| Analogous to lua_setfuncs, it registers a collection of function wrapper objects into a table, using push_function. More...
|
|
void | lua_cpp::push_closure (lua_State *L, const lua_function &f, int nup) |
| Pushes a closure which retains a std::function object as its first up-value. More...
|
|
void | lua_cpp::set_functions (lua_State *L, const std::vector< lua_cpp::Reg > &functions, int nup) |
| Analogous to lua_setfuncs and set_functions above, but pushes closures. More...
|
|
template<int N> |
void | lua_cpp::set_functions (lua_State *L, const lua_cpp::Reg(&functions)[N], int nup) |
| Analogous to lua_setfuncs and set_functions above, but pushes closures. More...
|
|