]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: lua: add utility function for check boolean argument
authorThierry FOURNIER / OZON.IO <thierry.fournier@ozon.io>
Thu, 24 Nov 2016 19:37:38 +0000 (20:37 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Nov 2016 20:35:10 +0000 (21:35 +0100)
commit7f3aa8b62f645fb2e60158fa5e4129ed5e7a8ef4
tree723ff6b6ed1007ba37691ac9d0bfe29f589c1624
parente365815007d28efa06abf257fab53111828eba20
MINOR: lua: add utility function for check boolean argument

Strangely, the Lua API doesn't provides a function like
luaL_checkboolean(). This little function add this one.
include/proto/hlua_fcn.h
src/hlua_fcn.c