MINOR: lua: move common function
authorThierry Fournier <tfournier@arpalert.org>
Wed, 27 Jan 2016 08:55:30 +0000 (09:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Feb 2016 10:08:53 +0000 (11:08 +0100)
commit9e7e3ea991bc8b4fb16b268d2268747059ddd993
tree16368d06fb29f916937c76cc607fa4d31a410b94
parent1550d5d035d87cdbd0f7041192c9dd2dd2aba03d
MINOR: lua: move common function

This patch moves the function hlua_checkudata which check that
an object contains the expected class_reference as metatable.
This function is commonly used by all the lua functions.
The function hlua_metatype is also moved.
include/proto/hlua_fcn.h
src/hlua.c
src/hlua_fcn.c