mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
api.h: format consistently for readibility
This commit is contained in:
@@ -28,8 +28,7 @@
|
||||
#else
|
||||
#define IFC_GEOM_API __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
#else // *nix + GCC-like compiler
|
||||
#define IFC_GEOM_API __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif // SWIG
|
||||
#endif // IFC_GEOM_API_H
|
||||
|
||||
@@ -21,15 +21,14 @@
|
||||
#define IFC_GEOMLIBRARY_API_H
|
||||
|
||||
#ifdef SWIG
|
||||
#define IFC_GEOMLIBRARY_API
|
||||
#define IFC_GEOMLIBRARY_API
|
||||
#elif defined(_WIN32)
|
||||
#ifdef IFC_GEOMLIBRARY_EXPORTS
|
||||
#define IFC_GEOMLIBRARY_API __declspec(dllexport)
|
||||
#else
|
||||
#define IFC_GEOMLIBRARY_API __declspec(dllimport)
|
||||
#endif
|
||||
#else // simply assume *nix + GCC-like compiler
|
||||
#define IFC_GEOMLIBRARY_API __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#ifdef IFC_GEOMLIBRARY_EXPORTS
|
||||
#define IFC_GEOMLIBRARY_API __declspec(dllexport)
|
||||
#else
|
||||
#define IFC_GEOMLIBRARY_API __declspec(dllimport)
|
||||
#endif
|
||||
#else // *nix + GCC-like compiler
|
||||
#define IFC_GEOMLIBRARY_API __attribute__((visibility("default")))
|
||||
#endif // SWIG
|
||||
#endif // IFC_GEOMLIBRARY_API_H
|
||||
|
||||
@@ -21,15 +21,14 @@
|
||||
#define IFC_GEOMSERIALIZATION_API_H
|
||||
|
||||
#ifdef SWIG
|
||||
#define IFC_GEOMSERIALIZATION_API
|
||||
#define IFC_GEOMSERIALIZATION_API
|
||||
#elif defined(_WIN32)
|
||||
#ifdef IFC_GEOMSERIALIZATION_EXPORTS
|
||||
#define IFC_GEOMSERIALIZATION_API __declspec(dllexport)
|
||||
#else
|
||||
#define IFC_GEOMSERIALIZATION_API __declspec(dllimport)
|
||||
#endif
|
||||
#else // simply assume *nix + GCC-like compiler
|
||||
#define IFC_GEOMSERIALIZATION_API __attribute__((visibility("default")))
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#ifdef IFC_GEOMSERIALIZATION_EXPORTS
|
||||
#define IFC_GEOMSERIALIZATION_API __declspec(dllexport)
|
||||
#else
|
||||
#define IFC_GEOMSERIALIZATION_API __declspec(dllimport)
|
||||
#endif
|
||||
#else // *nix + GCC-like compiler
|
||||
#define IFC_GEOMSERIALIZATION_API __attribute__((visibility("default")))
|
||||
#endif // SWIG
|
||||
#endif // IFC_GEOMSERIALIZATION_API_H
|
||||
|
||||
Reference in New Issue
Block a user