summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-12-12 11:58:00 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-12-12 11:58:00 +0100
commit28c7c584fa18c23d2c9825978d70b7e4f93e128b (patch)
tree466338b4404865ad0c1411affef31012df88ad88
parentf38d1cf42490a1719a96528143e863b3a4b9f999 (diff)
Improve documentation of fl_strdup()
and add example of value of fl_mac_os_version.
-rw-r--r--FL/fl_string_functions.h8
-rw-r--r--FL/mac.H2
2 files changed, 4 insertions, 6 deletions
diff --git a/FL/fl_string_functions.h b/FL/fl_string_functions.h
index 2e7d0e995..16e7a5ada 100644
--- a/FL/fl_string_functions.h
+++ b/FL/fl_string_functions.h
@@ -16,20 +16,20 @@
/**
\file fl_string_functions.h
- \brief Public header for FLTK's own platform agnostic string handling.
+ Public header for FLTK's platform-agnostic string handling.
*/
#ifndef _FL_fl_string_functions_h_
#define _FL_fl_string_functions_h_
#include "Fl_Export.H"
-#include "fl_types.h"
#ifdef __cplusplus
extern "C" {
#endif
-/** \addtogroup fl_string
+/** \defgroup fl_string String handling functions
+ String handling functions declared in <FL/fl_string_functions.h>
@{
*/
@@ -37,8 +37,6 @@ FL_EXPORT char* fl_strdup(const char *s);
/** @} */
-/*****************************************************************************/
-
#ifdef __cplusplus
}
#endif /* __cplusplus */
diff --git a/FL/mac.H b/FL/mac.H
index bfa93eafb..8982057a1 100644
--- a/FL/mac.H
+++ b/FL/mac.H
@@ -161,7 +161,7 @@ extern FLWindow *fl_mac_xid(const Fl_Window *win);
extern Fl_Window *fl_mac_find(FLWindow *);
class Fl_Gl_Window;
-/** The version number of the running Mac OS X (e.g., 100604 for 10.6.4, 101300 for 10.13).
+/** The version number of the running Mac OS X (e.g., 100604 for 10.6.4, 101300 for 10.13, 140102 for 14.1.2).
FLTK initializes this global variable before main() begins running. If
the value is needed in a static initializer, a previous call to Fl::system_driver()
makes sure \ref fl_mac_os_version has been initialized.