add Lua wrapper for cdef'd standard API