From 358bdf577e29a94a0a987ff120b62c02573dcaab Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 7 Mar 2018 10:12:50 +0000 Subject: MacOS: add more detail to the doc of global variable fl_mac_os_version git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/mac.H | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/mac.H b/FL/mac.H index ffb28f190..888ab633b 100644 --- a/FL/mac.H +++ b/FL/mac.H @@ -121,7 +121,10 @@ extern CGContextRef fl_gc; void fl_mac_set_about(Fl_Callback *cb, void *user_data, int shortcut = 0); -/** \brief The version number of the running Mac OS X (e.g., 100604 for 10.6.4) +/** The version number of the running Mac OS X (e.g., 100604 for 10.6.4, 101300 for 10.13). + 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. */ extern int fl_mac_os_version; -- cgit v1.2.3