devd-version-macros

devd-version-macros

Functions

Types and Values

Description

Functions

DEVD_DEPRECATED_FOR()

#define DEVD_DEPRECATED_FOR(f) _DEVD_EXTERN

DEVD_UNAVAILABLE()

#define DEVD_UNAVAILABLE(maj,min) _DEVD_EXTERN

DEVD_DEPRECATED_IN_3_28_FOR()

# define DEVD_DEPRECATED_IN_3_28_FOR(f)         DEVD_DEPRECATED_FOR(f)

DEVD_DEPRECATED_IN_3_30_FOR()

# define DEVD_DEPRECATED_IN_3_30_FOR(f)         DEVD_DEPRECATED_FOR(f)

Types and Values

DEVD_DEPRECATED

#define DEVD_DEPRECATED _DEVD_EXTERN

DEVD_VERSION_3_28

#define DEVD_VERSION_3_28 (G_ENCODE_VERSION (3, 28))

DEVD_VERSION_3_30

#define DEVD_VERSION_3_30 (G_ENCODE_VERSION (3, 30))

DEVD_VERSION_CUR_STABLE

# define DEVD_VERSION_CUR_STABLE (G_ENCODE_VERSION (DEVD_MAJOR_VERSION + 1, 0))

DEVD_VERSION_PREV_STABLE

# define DEVD_VERSION_PREV_STABLE (G_ENCODE_VERSION (DEVD_MAJOR_VERSION + 1, 0))

DEVD_VERSION_MIN_REQUIRED

# define DEVD_VERSION_MIN_REQUIRED (DEVD_VERSION_CUR_STABLE)

A macro that should be defined by the user prior to including the devd.h header.

The definition should be one of the predefined DEVD version macros: DEVD_VERSION_3_28, ...

This macro defines the lower bound for the Builder API to use.

If a function has been deprecated in a newer version of Builder, it is possible to use this symbol to avoid the compiler warnings without disabling warning for every deprecated function.

Since: 3.28


DEVD_VERSION_MAX_ALLOWED

#  define DEVD_VERSION_MAX_ALLOWED (DEVD_VERSION_MIN_REQUIRED)

A macro that should be defined by the user prior to including the devd.h header.

The definition should be one of the predefined Builder version macros: DEVD_VERSION_1_0, DEVD_VERSION_1_2,...

This macro defines the upper bound for the DEVD API to use.

If a function has been introduced in a newer version of Builder, it is possible to use this symbol to get compiler warnings when trying to use that function.

Since: 3.28


DEVD_AVAILABLE_IN_ALL

#define DEVD_AVAILABLE_IN_ALL                   _DEVD_EXTERN

DEVD_DEPRECATED_IN_3_28

# define DEVD_DEPRECATED_IN_3_28                DEVD_DEPRECATED

DEVD_AVAILABLE_IN_3_28

# define DEVD_AVAILABLE_IN_3_28                 DEVD_UNAVAILABLE(3, 28)

DEVD_DEPRECATED_IN_3_30

# define DEVD_DEPRECATED_IN_3_30                DEVD_DEPRECATED

DEVD_AVAILABLE_IN_3_30

# define DEVD_AVAILABLE_IN_3_30                 DEVD_UNAVAILABLE(3, 30)