From 4f736b294fd6fe437381cc2cb4a053f555b9724f Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 28 Aug 2020 12:07:22 +0800 Subject: 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. --- tools/m4/class_shared.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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 -- cgit v1.2.1