diff options
author | Murray Cumming <murrayc@murrayc.com> | 2015-02-03 12:49:14 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2015-02-03 12:50:27 +0100 |
commit | a3b4eeff1bb475d29f92fdfd2b2975274750e081 (patch) | |
tree | aeca859d097e24b6742a0c573270daf12f7f816b /tools | |
parent | 10e24926a149c8dbfbc5853b2d4ff5a4cd50bc4b (diff) | |
download | glibmm-a3b4eeff1bb475d29f92fdfd2b2975274750e081.tar.gz |
gmmproc: Put DOXYGEN_SHOULD_SKIP_THIS around *_Class prototypes.
These predeclarations, such as below, seem to confuse doxygen.
See bug #743918 .
namespace Gtk
{ class Window_Class; } // namespace Gtk
Diffstat (limited to 'tools')
-rw-r--r-- | tools/m4/class_gobject.m4 | 3 | ||||
-rw-r--r-- | tools/m4/class_interface.m4 | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tools/m4/class_gobject.m4 b/tools/m4/class_gobject.m4 index f097f180..14cbb22e 100644 --- a/tools/m4/class_gobject.m4 +++ b/tools/m4/class_gobject.m4 @@ -115,7 +115,10 @@ ifdef(`__BOOL_NO_WRAP_FUNCTION__',`dnl _STRUCT_PROTOTYPE() ')dnl +#ifndef DOXYGEN_SHOULD_SKIP_THIS __NAMESPACE_BEGIN__ class __CPPNAME__`'_Class; __NAMESPACE_END__ +#endif //DOXYGEN_SHOULD_SKIP_THIS + _SECTION(SECTION_HEADER3) ifdef(`__BOOL_NO_WRAP_FUNCTION__',`dnl diff --git a/tools/m4/class_interface.m4 b/tools/m4/class_interface.m4 index fe4add6b..fb6d387d 100644 --- a/tools/m4/class_interface.m4 +++ b/tools/m4/class_interface.m4 @@ -117,7 +117,10 @@ define(`_END_CLASS_INTERFACE',` _SECTION(SECTION_HEADER1) _STRUCT_PROTOTYPE() +#ifndef DOXYGEN_SHOULD_SKIP_THIS __NAMESPACE_BEGIN__ class __CPPNAME__`'_Class; __NAMESPACE_END__ +#endif // DOXYGEN_SHOULD_SKIP_THIS + _SECTION(SECTION_HEADER3) ifdef(`__BOOL_NO_WRAP_FUNCTION__',`dnl |