fix(lua): modules linkage (#6478)

This commit is contained in:
Raphael Coeffic
2025-07-28 09:01:47 +10:00
committed by GitHub
parent 3285b8a6fd
commit 28833f42e6
6 changed files with 19 additions and 15 deletions
+2
View File
@@ -1863,6 +1863,7 @@ static int luaModelSetSwashRing(lua_State *L)
}
#endif // HELI
extern "C" {
LROT_BEGIN(modellib, NULL, 0)
LROT_FUNCENTRY( getInfo, luaModelGetInfo )
LROT_FUNCENTRY( setInfo, luaModelSetInfo )
@@ -1906,3 +1907,4 @@ LROT_BEGIN(modellib, NULL, 0)
LROT_FUNCENTRY( setSwashRing, luaModelSetSwashRing )
#endif
LROT_END(modellib, NULL, 0)
}