[goocanvas/meson.msvc: 5/6] goocanvasenumtypes.h.template: Mark symbols for export
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goocanvas/meson.msvc: 5/6] goocanvasenumtypes.h.template: Mark symbols for export
- Date: Sat, 12 Jun 2021 07:57:16 +0000 (UTC)
commit 4f2bbd2ce727dbc9c865586cb0779a444e24b661
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Sat Jun 12 15:52:26 2021 +0800
goocanvasenumtypes.h.template: Mark symbols for export
This way, for Visual Studio-style builds, we can export the symbols in the
generated enumeration headers
src/goocanvasenumtypes.h.template | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/goocanvasenumtypes.h.template b/src/goocanvasenumtypes.h.template
index 13d9bde..095c880 100644
--- a/src/goocanvasenumtypes.h.template
+++ b/src/goocanvasenumtypes.h.template
@@ -2,6 +2,7 @@
#pragma once
#include <glib-object.h>
+#include "goocanvasexports.h"
G_BEGIN_DECLS
@@ -14,6 +15,7 @@ G_BEGIN_DECLS
/*** BEGIN value-header ***/
#define GOO_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
+GOOCANVAS_API
GType @enum_name@_get_type (void) G_GNUC_CONST;
/*** END value-header ***/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]