Type *lualoom_gettype(lua_State *L, const utString& fullPath) { LSLuaState *ls = LSLuaState::getLuaState(L); Type *type = ls->getType(fullPath.c_str()); lmAssert(type, "ls_gettype() unable to get type: %s", fullPath.c_str()); return type; }