9#define TIME_METATABLE "time"
ntime_t * luaL_checktime(lua_State *L, int ind)
Gets time at index raising an error if isn't a time.
ntime_t * lua_pushtime(lua_State *L, ntime_t time)
Pushes a time on the stack.
int nlua_loadTime(nlua_env env)
Loads the Time Lua library.
int lua_istime(lua_State *L, int ind)
Checks to see if ind is a time.
ntime_t luaL_validtime(lua_State *L, int ind)
Gets a time directly.
ntime_t * lua_totime(lua_State *L, int ind)
Bindings for interacting with the time.