summaryrefslogtreecommitdiff
path: root/FL/Fl.H
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2015-04-04 15:36:04 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2015-04-04 15:36:04 +0000
commit94ddbc199577885bd998d1f9e95692da391fc907 (patch)
treeb4130ee0ad3aad16b5c3b7573bbc997d00ba4266 /FL/Fl.H
parentc4b0a2f3bfb5f844ef5ed02fa6f8e72096f23776 (diff)
Add FL_ABI_VERSION, FL_API_VERSION, Fl::abi_version(), and Fl::api_version().
The new constants are the API and ABI versions in int format, resp. The new static methods return the compiled-in API and ABI versions, resp. FLTK_ABI_VERSION is deprecated, but still defined (same as FL_ABI_VERSION). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10673 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl.H')
-rw-r--r--FL/Fl.H4
1 files changed, 4 insertions, 0 deletions
diff --git a/FL/Fl.H b/FL/Fl.H
index f27193ae9..0e6e83e3e 100644
--- a/FL/Fl.H
+++ b/FL/Fl.H
@@ -263,6 +263,10 @@ public:
// API version number
static double version();
+ static int api_version();
+
+ // ABI version number
+ static int abi_version();
// argument parsers:
static int arg(int argc, char **argv, int& i);