Use the standard LUA_LDIR macro