GLib.Version – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
Version
@2_26
@2_28
@2_30
@2_32
@2_34
@2_36
@2_38
MAJOR
MICRO
MINOR
binary_age
interface_age
major
micro
minor
CHECK
check
GLib.Version
Description:
Content:
Constants:
public
const
uint
major
public
const
uint
minor
public
const
uint
micro
public
const
uint
MAJOR
The major version number of the GLib library.
public
const
uint
MINOR
The minor version number of the GLib library.
public
const
uint
MICRO
The micro version number of the GLib library.
public
const
uint
@2_26
public
const
uint
@2_28
public
const
uint
@2_30
public
const
uint
@2_32
public
const
uint
@2_34
public
const
uint
@2_36
public
const
uint
@2_38
public
const
uint
binary_age
public
const
uint
interface_age
Functions:
public
unowned
string
?
check
(
uint
required_major,
uint
required_minor =
0
,
uint
required_micro =
0
)
Checks that the GLib library in use is compatible with the given version.
public
bool
CHECK
(
uint
required_major,
uint
required_minor =
0
,
uint
required_micro =
0
)