-add lua extern

Signed-off-by: ymsquall <ymsquare@hotmail.com>