From 3ddd2f567cfa8ee44c115a8f9449b0ffb5af32ea Mon Sep 17 00:00:00 2001 From: Mattes D Date: Mon, 11 May 2015 16:19:01 +0200 Subject: ToLua: Fixed LuaJit compatibility. --- lib/tolua++/src/bin/lua/compat-5.1.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib') diff --git a/lib/tolua++/src/bin/lua/compat-5.1.lua b/lib/tolua++/src/bin/lua/compat-5.1.lua index c591592a6..c0a3ec388 100644 --- a/lib/tolua++/src/bin/lua/compat-5.1.lua +++ b/lib/tolua++/src/bin/lua/compat-5.1.lua @@ -54,3 +54,11 @@ string.repl = ogsub +-- Lua 5.2+ and LuaJit don't have string.gfind(). Use string.gmatch() instead: +if not(string.gfind) then + string.gfind = string.gmatch +end + + + + -- cgit v1.2.3 From da58620d45bf5d7d31f6d3700aa6687e17d0d1c8 Mon Sep 17 00:00:00 2001 From: tycho Date: Sat, 9 May 2015 13:16:07 +0100 Subject: Added TCLAP --- lib/TCLAP | 1 + 1 file changed, 1 insertion(+) create mode 160000 lib/TCLAP (limited to 'lib') diff --git a/lib/TCLAP b/lib/TCLAP new file mode 160000 index 000000000..12cee3878 --- /dev/null +++ b/lib/TCLAP @@ -0,0 +1 @@ +Subproject commit 12cee38782897cfe60a1611615c200c45cd99eaf -- cgit v1.2.3