diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2020-03-09 15:49:08 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2020-03-09 15:54:43 +0800 |
commit | 7d361627864dac92da3865387b0901493d8905ad (patch) | |
tree | ed26dfad948c46cf30483f91b8e10fb199af9139 /tools | |
parent | 5fdbaf93daf0e282d1e5de70d91a7f46dbf66b6d (diff) | |
download | glibmm-7d361627864dac92da3865387b0901493d8905ad.tar.gz |
m4: Apply function decoration more thoroughly
Apparently more items in the generated code must be marked with the
function decoration that is specified, otherwise the exported symbols
will not be complete.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/m4/class_boxedtype.m4 | 2 | ||||
-rw-r--r-- | tools/m4/class_boxedtype_static.m4 | 2 | ||||
-rw-r--r-- | tools/m4/class_gobject.m4 | 2 | ||||
-rw-r--r-- | tools/m4/class_interface.m4 | 2 | ||||
-rw-r--r-- | tools/m4/class_opaque_refcounted.m4 | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/tools/m4/class_boxedtype.m4 b/tools/m4/class_boxedtype.m4 index 73df2fae..a31f1f0a 100644 --- a/tools/m4/class_boxedtype.m4 +++ b/tools/m4/class_boxedtype.m4 @@ -86,7 +86,7 @@ __NAMESPACE__::__CPPNAME__ wrap(__CNAME__* object, bool take_copy = false); #ifndef DOXYGEN_SHOULD_SKIP_THIS template <> -class Value<__NAMESPACE__::__CPPNAME__> : public Glib::Value_Boxed<__NAMESPACE__::__CPPNAME__> +class __BOXEDTYPE_FUNC_DECORATION Value<__NAMESPACE__::__CPPNAME__> : public Glib::Value_Boxed<__NAMESPACE__::__CPPNAME__> {}; #endif /* DOXYGEN_SHOULD_SKIP_THIS */ diff --git a/tools/m4/class_boxedtype_static.m4 b/tools/m4/class_boxedtype_static.m4 index f9c98fff..bbb34411 100644 --- a/tools/m4/class_boxedtype_static.m4 +++ b/tools/m4/class_boxedtype_static.m4 @@ -67,7 +67,7 @@ const __NAMESPACE__::__CPPNAME__& wrap(const __CNAME__* object); #ifndef DOXYGEN_SHOULD_SKIP_THIS template <> -class Value<__NAMESPACE__::__CPPNAME__> : public Glib::Value_Boxed<__NAMESPACE__::__CPPNAME__> +class __FUNC_DECORATION__ Value<__NAMESPACE__::__CPPNAME__> : public Glib::Value_Boxed<__NAMESPACE__::__CPPNAME__> {}; #endif /* DOXYGEN_SHOULD_SKIP_THIS */ diff --git a/tools/m4/class_gobject.m4 b/tools/m4/class_gobject.m4 index 25feb630..bcf0572c 100644 --- a/tools/m4/class_gobject.m4 +++ b/tools/m4/class_gobject.m4 @@ -126,7 +126,7 @@ _STRUCT_PROTOTYPE() ')dnl #ifndef DOXYGEN_SHOULD_SKIP_THIS -__NAMESPACE_BEGIN__ class __CPPNAME__`'_Class; __NAMESPACE_END__ +__NAMESPACE_BEGIN__ class __FUNC_DECORATION__ __CPPNAME__`'_Class; __NAMESPACE_END__ #endif //DOXYGEN_SHOULD_SKIP_THIS _SECTION(SECTION_HEADER3) diff --git a/tools/m4/class_interface.m4 b/tools/m4/class_interface.m4 index dbcdfdf3..2ee0aff4 100644 --- a/tools/m4/class_interface.m4 +++ b/tools/m4/class_interface.m4 @@ -120,7 +120,7 @@ _SECTION(SECTION_HEADER1) _STRUCT_PROTOTYPE() #ifndef DOXYGEN_SHOULD_SKIP_THIS -__NAMESPACE_BEGIN__ class __CPPNAME__`'_Class; __NAMESPACE_END__ +__NAMESPACE_BEGIN__ class __FUNC_DECORATION__ __CPPNAME__`'_Class; __NAMESPACE_END__ #endif // DOXYGEN_SHOULD_SKIP_THIS _SECTION(SECTION_HEADER3) diff --git a/tools/m4/class_opaque_refcounted.m4 b/tools/m4/class_opaque_refcounted.m4 index 87670dbc..544f772e 100644 --- a/tools/m4/class_opaque_refcounted.m4 +++ b/tools/m4/class_opaque_refcounted.m4 @@ -63,7 +63,7 @@ Glib::RefPtr<__NAMESPACE__::__CPPNAME__> wrap(__CNAME__* object, bool take_copy ifdef(`__OPAQUE_FUNC_GTYPE__',`dnl #ifndef DOXYGEN_SHOULD_SKIP_THIS template <> -class Value<Glib::RefPtr<__NAMESPACE__::__CPPNAME__>> : public Glib::Value_RefPtrBoxed<__NAMESPACE__::__CPPNAME__> +class __OPAQUE_FUNC_DECORATION Value<Glib::RefPtr<__NAMESPACE__::__CPPNAME__>> : public Glib::Value_RefPtrBoxed<__NAMESPACE__::__CPPNAME__> { public: CppType get() const { return Glib::wrap(static_cast<__CNAME__*>(get_boxed()), true); } |