xoreos  0.0.5
Classes | Namespaces | Macros | Functions
util.h File Reference

Lua helpers. More...

#include <cassert>
#include "src/aurora/lua/types.h"
#include "src/aurora/lua/stack.h"
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Aurora::Lua::DefaultDeleter< T >
 

Namespaces

 Aurora
 
 Aurora::Lua
 

Macros

#define LUA_DEFAULT_DELETER(Type)   ::Aurora::Lua::DefaultDeleter<Type>::function
 

Functions

void * Aurora::Lua::getRawCppObjectFromStack (const Stack &stack, int index)
 
void * Aurora::Lua::getRawCppObjectFromVariable (const Variable &var)
 
template<typename T >
T * Aurora::Lua::getCppObjectFromStack (const Stack &stack, int index)
 
template<typename T >
T * Aurora::Lua::getCppObjectFromVariable (const Variable &var)
 

Detailed Description

Lua helpers.

Definition in file util.h.

Macro Definition Documentation

◆ LUA_DEFAULT_DELETER

#define LUA_DEFAULT_DELETER (   Type)    ::Aurora::Lua::DefaultDeleter<Type>::function

Definition at line 70 of file util.h.

Referenced by Engines::Witcher::LuaBindings::Vector::registerLuaBindings().