From d7cbe3119f155e3f6d82d4dc205122bec8b69bf1 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Mon, 30 Mar 2020 21:55:54 +0800 Subject: glib/src/*.hg: Mark _WRAP_ENUM with decl_prefix GLIBMM_API This way we can mark the template<> classes that is generated via _WRAP_ENUM with GLIBMM_API, so that we can export those as well. Note that for this, the _WRAP_ENUM calls with NO_GTYPE specified do not need to be marked with decl_prefix GLIBMM_API as no template<> classes will be generated in this manner. --- glib/src/binding.hg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/src/binding.hg b/glib/src/binding.hg index 59a94624..52bbbdb6 100644 --- a/glib/src/binding.hg +++ b/glib/src/binding.hg @@ -103,7 +103,7 @@ class GLIBMM_API Binding : public Glib::Object _CLASS_GOBJECT(Binding, GBinding, G_BINDING, Glib::Object, GObject, , , GLIBMM_API) public: - _WRAP_ENUM(Flags, GBindingFlags, newin "2,44") + _WRAP_ENUM(Flags, GBindingFlags, newin "2,44", decl_prefix GLIBMM_API) /** A slot to be called to transform values in a binding created by * bind_property_value(). -- cgit v1.2.1