Skip to content

Releases: AdUki/LuaState

LuaState 2.1

19 Jun 09:00
Compare
Choose a tag to compare
  • Various fixes
  • Allows pushing binary data that is not null terminated

LuaState 2.0

31 May 15:05
Compare
Choose a tag to compare
  • 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 functions doString and doFile
  • Cleaner code

LuaState 1.2

24 May 16:23
Compare
Choose a tag to compare

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

07 May 09:38
Compare
Choose a tag to compare

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

06 May 09:14
Compare
Choose a tag to compare

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