]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG/MINOR: lua: convert boolean "int" to bitfield
authorThierry FOURNIER <tfournier@arpalert.org>
Sun, 20 Dec 2015 17:42:25 +0000 (18:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 20 Dec 2015 22:13:00 +0000 (23:13 +0100)
commit7fa0549a2b7eaedd1a8bf9e13266b6535a9257fb
treef675e6a216e29917f2f4436f49f83c35d85188ba
parent841475e304c0c85ab56b8cc0a10b18305c494a68
REORG/MINOR: lua: convert boolean "int" to bitfield

This patch converts a boolean "int" to a bitfiled. The main
reason is to save space in the struct if another flag may will
be require.

Note that this patch is required for next fix and will need to be
backported to 1.6.
include/types/hlua.h
src/hlua.c