33 #ifndef __H__UG__INTERFACE__BINDINGS_LUA__
34 #define __H__UG__INTERFACE__BINDINGS_LUA__
40 #include "externals/lua/lua.h"
41 #include "externals/lua/lauxlib.h"
42 #include "externals/lua/lualib.h"
94 const char* metatableName);
97 const char* metatableName);
100 const char* metatableName,
101 void (*deleteFunc)(
const void*),
Definition: smart_pointer.h:650
Definition: smart_pointer.h:525
Registry for functions and classes that are exported to scripts and visualizations.
Definition: registry.h:138
struct lua_State lua_State
Definition: lua_table_handle.h:40
const bool IMLPICIT_SMART_PTR_TO_PTR_CONVERSION
Definition: bindings_lua.cpp:129
SmartUserDataWrapper * CreateNewUserData(lua_State *L, const SmartPtr< void > &ptr, const char *metatableName)
creates a new UserDataWrapper and associates it with ptr in luas registry
Definition: bindings_lua.cpp:174
UserDataWrapperTypes
Definition: bindings_lua.h:58
@ RAW_POINTER
Definition: bindings_lua.h:59
@ SMART_POINTER
Definition: bindings_lua.h:60
@ IS_CONST
Definition: bindings_lua.h:61
bool CreateBindings_LUA(lua_State *L, Registry ®)
creates bindings for ug_interface and a given lua-state.
Definition: bindings_lua.cpp:1058
Definition: bindings_lua.h:78
ConstSmartPtr< void > smartPtr
Definition: bindings_lua.h:79
Definition: bindings_lua.h:83
void * obj
Definition: bindings_lua.h:84
void(* deleteFunc)(const void *)
Definition: bindings_lua.h:85
Definition: bindings_lua.h:73
SmartPtr< void > smartPtr
Definition: bindings_lua.h:74
Definition: bindings_lua.h:64
byte type
Definition: bindings_lua.h:65
bool is_const()
Definition: bindings_lua.h:67
bool is_raw_ptr()
Definition: bindings_lua.h:68
bool is_smart_ptr()
Definition: bindings_lua.h:69