From b84d6df74def834478ff2f28027db800fe6a6182 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bartoletti?= Date: Fri, 13 Sep 2024 17:59:14 +0200 Subject: [PATCH] fix(exportDll): Add missing SFCGAL_API for OBJ headers --- src/io/OBJ.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/io/OBJ.h b/src/io/OBJ.h index cb0be0a3..31ad727e 100644 --- a/src/io/OBJ.h +++ b/src/io/OBJ.h @@ -20,7 +20,7 @@ namespace OBJ { * @param[out] out The output stream * @throws std::runtime_error If the geometry is invalid or unsupported */ -void +SFCGAL_API void save(const Geometry &geom, std::ostream &out); /** @@ -32,7 +32,7 @@ save(const Geometry &geom, std::ostream &out); * @throws std::runtime_error If the file cannot be opened or the geometry is * invalid */ -void +SFCGAL_API void save(const Geometry &geom, const std::string &filename); /** @@ -43,8 +43,8 @@ save(const Geometry &geom, const std::string &filename); * @return The OBJ format string * @throws std::runtime_error If the geometry is invalid or unsupported */ -std::string -saveToString(const Geometry &geom); +SFCGAL_API std::string + saveToString(const Geometry &geom); /** * @brief Saves a geometry to an OBJ format buffer (C API). @@ -56,7 +56,7 @@ saveToString(const Geometry &geom); * of bytes written (or required if buffer is null) * @throws std::runtime_error If the geometry is invalid or unsupported */ -void +SFCGAL_API void saveToBuffer(const Geometry &geom, char *buffer, size_t *size); } // namespace OBJ