mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-02 13:04:49 +00:00
api.h: format consistently for readibility
This commit is contained in:
@@ -28,8 +28,7 @@
|
|||||||
#else
|
#else
|
||||||
#define IFC_GEOM_API __declspec(dllimport)
|
#define IFC_GEOM_API __declspec(dllimport)
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else // *nix + GCC-like compiler
|
||||||
#define IFC_GEOM_API __attribute__((visibility("default")))
|
#define IFC_GEOM_API __attribute__((visibility("default")))
|
||||||
#endif
|
#endif // SWIG
|
||||||
|
#endif // IFC_GEOM_API_H
|
||||||
#endif
|
|
||||||
|
|||||||
@@ -21,15 +21,14 @@
|
|||||||
#define IFC_GEOMLIBRARY_API_H
|
#define IFC_GEOMLIBRARY_API_H
|
||||||
|
|
||||||
#ifdef SWIG
|
#ifdef SWIG
|
||||||
#define IFC_GEOMLIBRARY_API
|
#define IFC_GEOMLIBRARY_API
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
#ifdef IFC_GEOMLIBRARY_EXPORTS
|
#ifdef IFC_GEOMLIBRARY_EXPORTS
|
||||||
#define IFC_GEOMLIBRARY_API __declspec(dllexport)
|
#define IFC_GEOMLIBRARY_API __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define IFC_GEOMLIBRARY_API __declspec(dllimport)
|
#define IFC_GEOMLIBRARY_API __declspec(dllimport)
|
||||||
#endif
|
#endif
|
||||||
#else // simply assume *nix + GCC-like compiler
|
#else // *nix + GCC-like compiler
|
||||||
#define IFC_GEOMLIBRARY_API __attribute__((visibility("default")))
|
#define IFC_GEOMLIBRARY_API __attribute__((visibility("default")))
|
||||||
#endif
|
#endif // SWIG
|
||||||
|
#endif // IFC_GEOMLIBRARY_API_H
|
||||||
#endif
|
|
||||||
|
|||||||
@@ -21,15 +21,14 @@
|
|||||||
#define IFC_GEOMSERIALIZATION_API_H
|
#define IFC_GEOMSERIALIZATION_API_H
|
||||||
|
|
||||||
#ifdef SWIG
|
#ifdef SWIG
|
||||||
#define IFC_GEOMSERIALIZATION_API
|
#define IFC_GEOMSERIALIZATION_API
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
#ifdef IFC_GEOMSERIALIZATION_EXPORTS
|
#ifdef IFC_GEOMSERIALIZATION_EXPORTS
|
||||||
#define IFC_GEOMSERIALIZATION_API __declspec(dllexport)
|
#define IFC_GEOMSERIALIZATION_API __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define IFC_GEOMSERIALIZATION_API __declspec(dllimport)
|
#define IFC_GEOMSERIALIZATION_API __declspec(dllimport)
|
||||||
#endif
|
#endif
|
||||||
#else // simply assume *nix + GCC-like compiler
|
#else // *nix + GCC-like compiler
|
||||||
#define IFC_GEOMSERIALIZATION_API __attribute__((visibility("default")))
|
#define IFC_GEOMSERIALIZATION_API __attribute__((visibility("default")))
|
||||||
#endif
|
#endif // SWIG
|
||||||
|
#endif // IFC_GEOMSERIALIZATION_API_H
|
||||||
#endif
|
|
||||||
|
|||||||
@@ -21,22 +21,21 @@
|
|||||||
#define IFC_PARSE_API_H
|
#define IFC_PARSE_API_H
|
||||||
|
|
||||||
#ifdef SWIG
|
#ifdef SWIG
|
||||||
#define IFC_PARSE_API
|
#define IFC_PARSE_API
|
||||||
#define IFC_SCHEMA_API
|
#define IFC_SCHEMA_API
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
#ifdef IFC_PARSE_EXPORTS
|
#ifdef IFC_PARSE_EXPORTS
|
||||||
#define IFC_PARSE_API __declspec(dllexport)
|
#define IFC_PARSE_API __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define IFC_PARSE_API __declspec(dllimport)
|
#define IFC_PARSE_API __declspec(dllimport)
|
||||||
#endif
|
#endif
|
||||||
#ifdef IFC_SCHEMA_EXPORTS
|
#ifdef IFC_SCHEMA_EXPORTS
|
||||||
#define IFC_SCHEMA_API __declspec(dllexport)
|
#define IFC_SCHEMA_API __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define IFC_SCHEMA_API IFC_PARSE_API
|
#define IFC_SCHEMA_API IFC_PARSE_API
|
||||||
#endif
|
#endif
|
||||||
#else // simply assume *nix + GCC-like compiler
|
#else // *nix + GCC-like compiler
|
||||||
#define IFC_PARSE_API __attribute__((visibility("default")))
|
#define IFC_PARSE_API __attribute__((visibility("default")))
|
||||||
#define IFC_SCHEMA_API __attribute__((visibility("default")))
|
#define IFC_SCHEMA_API __attribute__((visibility("default")))
|
||||||
#endif
|
#endif // SWIG
|
||||||
|
#endif // IFC_PARSE_API_H
|
||||||
#endif
|
|
||||||
|
|||||||
+10
-11
@@ -21,15 +21,14 @@
|
|||||||
#define PLUGIN_API_H
|
#define PLUGIN_API_H
|
||||||
|
|
||||||
#ifdef SWIG
|
#ifdef SWIG
|
||||||
#define PLUGIN_API
|
#define PLUGIN_API
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
#ifdef PLUGIN_EXPORTS
|
#ifdef PLUGIN_EXPORTS
|
||||||
#define PLUGIN_API __declspec(dllexport)
|
#define PLUGIN_API __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define PLUGIN_API __declspec(dllimport)
|
#define PLUGIN_API __declspec(dllimport)
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else // *nix + GCC-like compiler
|
||||||
#define PLUGIN_API __attribute__((visibility("default")))
|
#define PLUGIN_API __attribute__((visibility("default")))
|
||||||
#endif
|
#endif // SWIG
|
||||||
|
#endif // PLUGIN_API_H
|
||||||
#endif
|
|
||||||
|
|||||||
@@ -28,8 +28,7 @@
|
|||||||
#else
|
#else
|
||||||
#define SERIALIZERS_API __declspec(dllimport)
|
#define SERIALIZERS_API __declspec(dllimport)
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else // *nix + GCC-like compiler
|
||||||
#define SERIALIZERS_API __attribute__((visibility("default")))
|
#define SERIALIZERS_API __attribute__((visibility("default")))
|
||||||
#endif
|
#endif // SWIG
|
||||||
|
#endif // IFC_SERIALIZERS_API_H
|
||||||
#endif
|
|
||||||
|
|||||||
Reference in New Issue
Block a user