FL_VERSION.h File Reference


Defines

#define FL_MAJOR_VERSION
#define FL_MINOR_VERSION
#define FL_PATCH_VERSION
#define FL_VERSION

Functions

double version ()

Detailed Description

The FLTK version number. Allows you to write conditionally compiled code for different versions of FLTK. This file may be included by C code in case you need it there.

FL_VERSION is a macro double that describes the major, minor, and patch version numbers. The integer value is the major number. One digit is used for the minor number, and three for the "patch" number which is increased for each binary differnt release (it can go to 999).

Because double cannot be used in #if statements, the integer numbers are in the FL_MAJOR_VERSION, FL_MINOR_VERSION, and FL_PATCH_VERSION macro constants.


Define Documentation

#define FL_MAJOR_VERSION
 

The major release number, 1 or 2.

#define FL_MINOR_VERSION
 

The minor release number, 0-9.

#define FL_PATCH_VERSION
 

The patch number, 0-999.


Function Documentation

double version  ) 
 

Returns the value of FL_VERSION that FLTK was compiled with. This can be compared to the FL_VERSION macro to see if the shared library of fltk your program linked with is up to date.


Sun Jan 7 00:55:16 2007. FLTK ©2006 Bill Spitzak and others.
Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.