[pangomm/use-dllexport: 5/7] pango/pangomm/*.h: Decorate APIs with PANGOMM_API
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pangomm/use-dllexport: 5/7] pango/pangomm/*.h: Decorate APIs with PANGOMM_API
- Date: Wed, 11 Mar 2020 10:43:00 +0000 (UTC)
commit d22b5a9e131b33d1bc6222066bfc4d46eaa1bff7
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Wed Mar 11 18:25:14 2020 +0800
pango/pangomm/*.h: Decorate APIs with PANGOMM_API
This prepares for the export of symbols using compiler directives rather
than using gendef.exe.
pango/pangomm/init.h | 3 +++
pango/pangomm/wrap_init.h | 3 +++
2 files changed, 6 insertions(+)
---
diff --git a/pango/pangomm/init.h b/pango/pangomm/init.h
index 08b2147..f4c8f3d 100644
--- a/pango/pangomm/init.h
+++ b/pango/pangomm/init.h
@@ -21,6 +21,8 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <pangommconfig.h>
+
namespace Pango
{
@@ -29,6 +31,7 @@ namespace Pango
* You do not need to call this if you are using Gtk::Main,
* because it calls it for you.
*/
+PANGOMM_API
void init();
} // namespace Pango
diff --git a/pango/pangomm/wrap_init.h b/pango/pangomm/wrap_init.h
index d14d0c7..5d91c83 100644
--- a/pango/pangomm/wrap_init.h
+++ b/pango/pangomm/wrap_init.h
@@ -22,9 +22,12 @@
// wrap_init.cc is generated by tools/generate_wrap_init.pl
+#include <pangommconfig.h>
+
namespace Pango
{
+PANGOMM_API
void wrap_init();
} /* namespace Pango */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]