]> git.kaiwu.me - haproxy.git/commit
MINOR: hlua: Add support for lua 5.5
authorMike Lothian <mike@fireburn.co.uk>
Fri, 2 Jan 2026 14:38:10 +0000 (14:38 +0000)
committerWilly Tarreau <w@1wt.eu>
Tue, 6 Jan 2026 10:05:02 +0000 (11:05 +0100)
commit1c0f781994a89b5cbd7b4b893c23e6d2b75b1764
tree6548c62f787a221d111831f1954cb3acbede3725
parent853604f87aa22cf0d422f0fbccc2d76f4becd78a
MINOR: hlua: Add support for lua 5.5

Lua 5.5 adds an extra argument to lua_newstate(). Since there are
already a few other ifdefs in hlua.c checking for the Lua version,
and there's a single call place, let's do the same here. This should
be safe for backporting if needed.

Signed-off-by: Mike Lothian <mike@fireburn.co.uk>
src/hlua.c