support for calling LUA functions from c++