From cf3eb7e121b3bbd31200da0a137d8d289fa724da Mon Sep 17 00:00:00 2001 From: paul-krug Date: Sun, 14 Jun 2026 15:25:24 +0200 Subject: [PATCH] Export the remaining C-API functions in the Windows .def The CMake DLL build derives Windows exports solely from VocalTractLabApi.def (C_EXPORT expands to nothing in that build), so only functions listed there are exported and importable. The glottis functions were added previously; this adds the remaining 17 (TDS, anatomy, geometry/visualization, and TL-intermediate accessors) so a cython/ctypes consumer can link them. Without this, linking a client against the DLL fails with LNK2001 unresolved external for these symbols on Windows; macOS/Linux export them by default and were unaffected. --- src/VocalTractLabApi/VocalTractLabApi.def | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/VocalTractLabApi/VocalTractLabApi.def b/src/VocalTractLabApi/VocalTractLabApi.def index bb52a0f..ddd410a 100644 --- a/src/VocalTractLabApi/VocalTractLabApi.def +++ b/src/VocalTractLabApi/VocalTractLabApi.def @@ -33,3 +33,20 @@ vtlGlottisCalcGeometry vtlGlottisIncTime vtlGlottisResetMotion vtlGetGlottisStaticParamInfo +vtlTdsSetTubeAndRun +vtlTdsSetOptions +vtlTdsResetMotion +vtlGetAnatomyParams +vtlSetAnatomyParams +vtlSetAnatomyFromAge +vtlSetFossaDims +vtlGetSurfaceVertices +vtlGetCenterline +vtlGetOutlines +vtlGetCrossSections +vtlGetCuts +vtlGetProfiles +vtlGetTongueRibData +vtlGetTongueWidthBounds +vtlTractToFullTube +vtlGetTLIntermediateValues