summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2020-08-28 12:07:22 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2020-08-28 15:24:55 +0800
commit4f736b294fd6fe437381cc2cb4a053f555b9724f (patch)
treedb3307009c8f3270a0c72a9a8d687eb891a913cd /tools
parent2da4503d039da6a12cbd61cbbfea0af4ba572229 (diff)
downloadglibmm-4f736b294fd6fe437381cc2cb4a053f555b9724f.tar.gz
class_shared.m4: Decorate private class prototype
...when using _WRAP_GOBJECT with a function decoration. This will help expose the class definition in the generated private/*_p.h in the built DLLs/LIBs that is built with Visual Studio or clang-cl.
Diffstat (limited to 'tools')
-rw-r--r--tools/m4/class_shared.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/m4/class_shared.m4 b/tools/m4/class_shared.m4
index 68804128..587a1f2f 100644
--- a/tools/m4/class_shared.m4
+++ b/tools/m4/class_shared.m4
@@ -101,7 +101,7 @@ dnl
dnl
dnl
define(`_PH_CLASS_DECLARATION',`dnl
-class __CPPNAME__`'_Class : public Glib::Class
+class __FUNC_DECORATION__ __CPPNAME__`'_Class : public Glib::Class
{
public:
#ifndef DOXYGEN_SHOULD_SKIP_THIS