From a4c6c18b3dc3ed11b3aca19df37ef094a19fe025 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 9 May 2023 22:36:41 +0200 Subject: Fix doxygen doc generation and document platform specific files Pure platform specific files like 'src/*_win32.cxx' are excluded from doxygen processing and don't need doxygen specific guard macros. Document this fact prominently at the beginning of each file. Fix exclude patterns and remove duplicates from Doxyfile.in. --- src/Fl_x.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/Fl_x.cxx') diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 67f9df744..6922ac819 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -14,7 +14,8 @@ // https://www.fltk.org/bugs.php // -#if !defined(FL_DOXYGEN) +// Note: this file contains platform specific code and will therefore +// not be processed by doxygen (see Doxyfile.in). # ifndef FLTK_CONSOLIDATE_MOTION # define FLTK_CONSOLIDATE_MOTION 0 @@ -3026,5 +3027,3 @@ void Fl_X11_Window_Driver::show() { XMapRaised(fl_display, fl_xid(pWindow)); } } - -#endif // !defined(FL_DOXYGEN) -- cgit v1.2.3