Function Macro

GLibENCODE_VERSION

since: 2.32

Declaration [src]

#define G_ENCODE_VERSION (
  major,
  minor
)

Description [src]

Encode a major.minor version as a single integer.

This is the encoding used by macros such as GLIB_VERSION_2_84 and GLIB_VERSION_CUR_STABLE, and is intended to be used when (for example) setting the value of GLIB_VERSION_MAX_ALLOWED.

Available since: 2.32

This function is not directly available to language bindings.

Parameters

major

Type: -

Major version number.

minor

Type: -

Minor version number.