]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: lua: change the objects configuration
authorThierry FOURNIER <tfournier@exceliance.fr>
Wed, 11 Mar 2015 16:43:33 +0000 (17:43 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 11 Mar 2015 18:55:10 +0000 (19:55 +0100)
commit2297bc2fb9d1c5b8aa7f7eb193b46175508c2d78
tree36f3e9b0e48e260da4f53e3789de13118ed7d660
parenta2d8c650c15d71dbf1a926df6f8fa5ba84646bc6
MEDIUM: lua: change the objects configuration

Actually an object is just a userdata value with a metatable.
This mode causes some problems like I can't add lua own data.
This new model uses an array as object base, and affect the
userdata at the index 0.
src/hlua.c