[pangomm/use-dllexport-2-42] pango/src/fontdescription.hg: Mark operators with PANGOMM_API
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pangomm/use-dllexport-2-42] pango/src/fontdescription.hg: Mark operators with PANGOMM_API
- Date: Sat, 11 Apr 2020 15:49:09 +0000 (UTC)
commit 260198388e9a415a0b0219aec1f8a45da11c0510
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Sat Apr 11 23:47:18 2020 +0800
pango/src/fontdescription.hg: Mark operators with PANGOMM_API
We are using a _WRAP_EQUAL here which generates operator== and
operator!= overloads that actually need to be exported. So, pass in a
function decorator to _WRAP_EQUAL
pango/src/fontdescription.hg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pango/src/fontdescription.hg b/pango/src/fontdescription.hg
index 6a8bbc2..e2c7397 100644
--- a/pango/src/fontdescription.hg
+++ b/pango/src/fontdescription.hg
@@ -98,7 +98,7 @@ public:
_WRAP_METHOD(Glib::ustring to_filename() const, pango_font_description_to_filename)
#m4begin
- _WRAP_EQUAL(pango_font_description_equal)
+ _WRAP_EQUAL(pango_font_description_equal, , PANGOMM_API)
#m4end
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]