[glibmm/export-more-symbols: 2/5] glib/src/*.hg: Mark _WRAP_ENUM with decl_prefix GLIBMM_API
- From: Chun-wei Fan <fanchunwei src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [glibmm/export-more-symbols: 2/5] glib/src/*.hg: Mark _WRAP_ENUM with decl_prefix GLIBMM_API
 
- Date: Sat,  4 Apr 2020 04:56:21 +0000 (UTC)
 
commit d7cbe3119f155e3f6d82d4dc205122bec8b69bf1
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Mar 30 21:55:54 2020 +0800
    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().
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]