summaryrefslogtreecommitdiff
path: root/gio/src/converter.hg
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2020-03-30 21:57:34 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2020-04-04 12:27:35 +0800
commit0c9a0f8acffe1fe9201b2c65deba5544d8f1dd94 (patch)
tree9803e4b877ad3fd0a0d346f3c587663a9b3ba7c1 /gio/src/converter.hg
parentd7cbe3119f155e3f6d82d4dc205122bec8b69bf1 (diff)
downloadglibmm-0c9a0f8acffe1fe9201b2c65deba5544d8f1dd94.tar.gz
gio/src/*.hg: Mark _WRAP_ENUM with decl_prefix GIOMM_API
This way, we can mark the template<> classes with GIOMM_API so that we can export them as well using compiler directives. Note that those marked with NO_GTYPE do not need to be marked with this, as no template<> classes are generated with these.
Diffstat (limited to 'gio/src/converter.hg')
-rw-r--r--gio/src/converter.hg4
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/src/converter.hg b/gio/src/converter.hg
index 74e1624d..3c27ccde 100644
--- a/gio/src/converter.hg
+++ b/gio/src/converter.hg
@@ -44,8 +44,8 @@ class GIOMM_API Converter : public Glib::Interface
_CLASS_INTERFACE(Converter, GConverter, G_CONVERTER, GConverterIface, , , GIOMM_API)
public:
- _WRAP_ENUM(Result, GConverterResult)
- _WRAP_ENUM(Flags, GConverterFlags)
+ _WRAP_ENUM(Result, GConverterResult, decl_prefix GIOMM_API)
+ _WRAP_ENUM(Flags, GConverterFlags, decl_prefix GIOMM_API)
_WRAP_METHOD(Result convert(const void* inbuf, gsize inbuf_size, void* outbuf, gsize outbuf_size, Flags flags, gsize& bytes_read, gsize& bytes_written), g_converter_convert, errthrow)
_WRAP_METHOD(void reset(), g_converter_reset)