MINOR: lua-thread: Split hlua_init() function in two parts
authorThierry Fournier <thierry.fournier@ozon.io>
Sat, 28 Nov 2020 11:26:24 +0000 (12:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Dec 2020 20:53:16 +0000 (21:53 +0100)
commit1eac28f5fc3b5ed293824d5bea04fd9b2723ac37
tree0ca78c9804938bd8ca1ed2c1e484000c2c8f624d
parentad5345fed7cb2a75edaff8101864586f3205a73d
MINOR: lua-thread: Split hlua_init() function in two parts

The goal is to allow execution of one main lua state per thread.

This is a preparative work in order to init more than one stack
in the lua-thread objective.
src/hlua.c