Releases: AdUki/LuaState
Releases · AdUki/LuaState
LuaState 2.1
LuaState 2.0
- Removed shared_ptr from
lua::Value
,lua::State
,lua::Ref
. If you want to use them, you still can while creating those objects. - Implemented copy assingment and constructor with
shared_ptr<lua::StackItem>
which handles deallocation of values from Lua C API stack (instead of my own reference counting) - Added support of older versions of gcc and VS 2012 (anything that has move operators and variadic templates)
- You can query elements from
lua::State
functionsdoString
anddoFile
- Cleaner code
LuaState 1.2
Fixes and features:
- Cleaner library code
- Cleaner test code
- travis continuous integrations
- Number of arguments mismatches during function calls from Lua to C
- Added gcc 4.8.1 compiler support
- Can copy values
LuaState 1.1
Implemented Lua stack guard with priority queue.
Now you can do this:
state.doString("tab = { a = 1 } ");
lua::Value* tab = new lua::Value();
*tab = state["tab"];
lua::Value* value = new lua::Value();
*value = (*tab)["a"];
delete tab; // deleted value allocated before lua::Value value
int a = *value; // still we can use lua::Value value
delete value; // deallocated lua::Values "a" and "tab" from stack
LuaState 1.0
Clean and stable API with most basic functions.
Next features to implement:
- Lua stack guard, so lua::Values cannot be invalidated
- Lua parallel function calls from C++ using native C++11 thread library