MINOR: lua-thread: remove struct hlua from function hlua_prepend_path()
authorThierry Fournier <thierry.fournier@ozon.io>
Sat, 28 Nov 2020 09:13:12 +0000 (10:13 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Dec 2020 20:53:16 +0000 (21:53 +0100)
commit3fb9e5133a06617071262a380cf103250011bb90
tree4b20767fabd7c3e29445f177939514e7fc96f27f
parentcdb53465f41aa27567de7abf8f870e794de4ad58
MINOR: lua-thread: remove struct hlua from function hlua_prepend_path()

The goal is to no longer use "struct hlua" with global main lua_state
and directly take the state instead.

This patch removes the implicit dependency to this struct with
the function hlua_prepend_path()
src/hlua.c