Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #30 from mborne/master
Browse files Browse the repository at this point in the history
[MinGW]fix missing SFCGAL_API
  • Loading branch information
vmora committed Jul 8, 2013
2 parents 513be5d + 1b8c0d9 commit b7db13f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions include/SFCGAL/algorithm/volume.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#ifndef _SFCGAL_ALGORITHM_VOLUME_H_
#define _SFCGAL_ALGORITHM_VOLUME_H_

#include <SFCGAL/export.h>
#include <SFCGAL/Kernel.h>
#include <SFCGAL/Geometry.h>

Expand All @@ -34,14 +35,14 @@ struct NoValidityCheck;
* @pre g is a valid Geometry
* @ingroup public_api
*/
const Kernel::FT volume( const Geometry& g );
SFCGAL_API const Kernel::FT volume( const Geometry& g );

/**
* Computes the volume of a Solid
* @pre (not checked) volume is closed and consistently oriented
* @ingroup detail
*/
const Kernel::FT volume( const Solid& g, NoValidityCheck );
SFCGAL_API const Kernel::FT volume( const Solid& g, NoValidityCheck );

}
}
Expand Down
3 changes: 2 additions & 1 deletion include/SFCGAL/detail/transform/AffineTransform2.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#ifndef _SFCGAL_TRANSFORM_AFFINETRANSFORM2_H_
#define _SFCGAL_TRANSFORM_AFFINETRANSFORM2_H_

#include <SFCGAL/config.h>
#include <SFCGAL/Kernel.h>
#include <SFCGAL/Transform.h>

Expand All @@ -34,7 +35,7 @@ namespace transform {
* Wrapper for CGAL::Aff_transform_2
* @todo unittest
*/
class AffineTransform2 : public Transform {
class SFCGAL_API AffineTransform2 : public Transform {
public:
/**
* Constructor with a transform
Expand Down
3 changes: 2 additions & 1 deletion include/SFCGAL/detail/transform/AffineTransform3.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#ifndef _SFCGAL_TRANSFORM_AFFINETRANSFORM3_H_
#define _SFCGAL_TRANSFORM_AFFINETRANSFORM3_H_

#include <SFCGAL/config.h>
#include <SFCGAL/Kernel.h>
#include <SFCGAL/Transform.h>

Expand All @@ -33,7 +34,7 @@ namespace transform {
* Wrapper for CGAL::Aff_transform_3
* @todo unittest
*/
class AffineTransform3 : public Transform {
class SFCGAL_API AffineTransform3 : public Transform {
public:
/**
* Constructor with a transform
Expand Down

0 comments on commit b7db13f

Please sign in to comment.