Skip to content

Releases: gengyong/luaaa

V1.4.1

17 May 06:32
6613132
Compare
Choose a tag to compare

fix minor issue.

v1.4

14 Mar 03:41
Compare
Choose a tag to compare

new feature: export properties.

v1.3

21 Dec 09:22
Compare
Choose a tag to compare

support std::tuple now so we can return multiple values from c++ to Lua likes below.

void func1(const std::tuple<int, float, std::string>& args) {
    // do some things here ...
}

auto func2() {
    return std::make_tuple(123, "string A", "string B", 0.123f);
}

LuaModule testMod(L, "TestMod");
testMod.fun("modFunc1", func1);
testMod.fun("modFunc2", func2);

in Lua:

TestMod.modFunc1(1, 1.2, "from lua to c")

local values = TestMod.modFunc2()
print("Lua got multiple values from c++:")
for i = 1, #values do 
    print("[" .. i .. "]" .. values[i]) 
end

v1.2

12 Dec 05:24
Compare
Choose a tag to compare

fix gcc compile error on v1.1

v1.0

18 Sep 07:33
Compare
Choose a tag to compare

fix bugs.
a stable release.

v0.2.3

08 Feb 20:54
Compare
Choose a tag to compare

new feature: make exported lua class extendable.

v0.2.2

06 Feb 18:29
Compare
Choose a tag to compare

add new feature: export lambdas.

v0.2.1

30 Oct 19:32
Compare
Choose a tag to compare
  1. Customizable Lua class ctor/gc behavior, static/global function can be exported as Lua ctor.
  2. Add macro 'LUAAA_WITHOUT_CPP_STDLIB' to disable STL for embedded device.

Initialize release.

02 Jan 15:05
Compare
Choose a tag to compare

Initialize version.

  • works with lua 5.1, lua 5.2 and lua 5.3.
  • C++11 required.