]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: lua: move longjmp annotation macros to hlua.h
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 10 Jun 2026 12:17:22 +0000 (14:17 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 11 Jun 2026 12:40:27 +0000 (14:40 +0200)
commit5c0733db9a13516cd664926bd4273844db0ec98d
treebc6ff98ec2df0f196e3763f27c5bc356032a8193
parentd0fde90e16515a57f08288e23cbde3bbe1a3b013
MEDIUM: lua: move longjmp annotation macros to hlua.h

__LJMP, WILL_LJMP() and MAY_LJMP() were defined locally in hlua.c,
making them unavailable to other modules that implement Lua bindings.
Move them to include/haproxy/hlua.h so they can be used outside of
hlua.c.
include/haproxy/hlua.h
src/hlua.c