Skip to content

Commit

Permalink
fix(exportDll): Add missing SFCGAL_API for OBJ headers
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti committed Sep 13, 2024
1 parent 5bf7edb commit b84d6df
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/io/OBJ.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/**
Expand All @@ -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);

/**
Expand All @@ -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).
Expand All @@ -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
Expand Down

0 comments on commit b84d6df

Please sign in to comment.