From 94ddbc199577885bd998d1f9e95692da391fc907 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 4 Apr 2015 15:36:04 +0000 Subject: 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 --- FL/Fl.H | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'FL/Fl.H') 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); -- cgit v1.2.3