![]() |
![]() |
![]() |
Clutter Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#define CLUTTER_MAJOR_VERSION #define CLUTTER_MINOR_VERSION #define CLUTTER_MICRO_VERSION #define CLUTTER_VERSION #define CLUTTER_VERSION_S #define CLUTTER_VERSION_HEX #define CLUTTER_CHECK_VERSION (major,minor,micro) #define CLUTTER_FLAVOUR #define CLUTTER_COGL #define CLUTTER_NO_FPU extern const guint clutter_major_version; extern const guint clutter_minor_version; extern const guint clutter_micro_version; gboolean clutter_check_version (guint major, guint minor, guint micro);
Clutter offers a set of macros for checking the version of the library an application was linked to.
#define CLUTTER_MAJOR_VERSION (1)
The major version of the Clutter library (1, if CLUTTER_VERSION
is 1.2.3)
#define CLUTTER_MINOR_VERSION (1)
The minor version of the Clutter library (2, if CLUTTER_VERSION
is 1.2.3)
#define CLUTTER_MICRO_VERSION (4)
The micro version of the Clutter library (3, if CLUTTER_VERSION
is 1.2.3)
#define CLUTTER_VERSION_S "1.1.4"
The full version of the Clutter library, in string form (suited for string concatenation)
#define CLUTTER_VERSION_HEX
Numerically encoded version of the Clutter library, like 0x010203
#define CLUTTER_CHECK_VERSION(major,minor,micro)
Evaluates to TRUE
if the version of the Clutter library is greater
than major
, minor
and micro
|
major version, like 1 in 1.2.3 |
|
minor version, like 2 in 1.2.3 |
|
micro version, like 3 in 1.2.3 |
#define CLUTTER_COGL "gl"
Cogl (internal GL abstraction utility library) backend. Can be "gl" or "gles" currently
Since 0.4
#define CLUTTER_NO_FPU CLUTTER_NO_FPU_MACRO_WAS_REMOVED
Set to 1 if Clutter was built without FPU (i.e fixed math), 0 otherwise
Deprecated
: 0.6: This macro is no longer defined (identical code is used
regardless the presence of FPU).
gboolean clutter_check_version (guint major, guint minor, guint micro);
Run-time version check, to check the version the Clutter library that an application is currently linked against
This is the run-time equivalent of the compile-time CLUTTER_CHECK_VERSION
pre-processor macro
|
major version, like 1 in 1.2.3 |
|
minor version, like 2 in 1.2.3 |
|
micro version, like 3 in 1.2.3 |
Returns : |
TRUE if the version of the Clutter library is
greater than (major , minor , micro ), and FALSE otherwise
|
Since 1.2