mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +00:00
Add missing exports for ifcopenshell-python when we build shared libs.
This commit is contained in:
committed by
Thomas Krijnen
parent
7e28d193ec
commit
42448cae4e
@@ -1,5 +1,6 @@
|
||||
#define SCHEMA_METHOD
|
||||
|
||||
#include "../serializers/serializers_api.h"
|
||||
#include "../ifcgeom_schema_agnostic/Serializer.h"
|
||||
#include "../ifcparse/IfcFile.h"
|
||||
|
||||
@@ -7,7 +8,7 @@
|
||||
|
||||
#include <map>
|
||||
|
||||
class XmlSerializer : public Serializer {
|
||||
class SERIALIZERS_API XmlSerializer : public Serializer {
|
||||
private:
|
||||
XmlSerializer* implementation_;
|
||||
|
||||
@@ -26,7 +27,7 @@ public:
|
||||
void setFile(IfcParse::IfcFile*) { throw IfcParse::IfcException("Should be supplied on construction"); }
|
||||
};
|
||||
|
||||
struct XmlSerializerFactory {
|
||||
struct SERIALIZERS_API XmlSerializerFactory {
|
||||
typedef boost::function2<XmlSerializer*, IfcParse::IfcFile*, std::string> fn;
|
||||
|
||||
class Factory : public std::map<std::string, fn> {
|
||||
|
||||
Reference in New Issue
Block a user