Skip to content

Fix Linux build: make inline functions static inline

joy requested to merge fix-linux-build into master

The inline functions in woort_gc.h were causing undefined reference linker errors on Linux builds. In C, inline functions without 'static' need an external definition in some translation unit.

Changed all inline functions to static inline to ensure each translation unit has its own copy, avoiding the linker error.

Fixes: build:ubuntu20, build:ubuntu22_arm64, build:mac-arm64

Merge request reports