Function Macro

GLibDEPRECATED_FOR

since: 2.32

Declaration

#define G_DEPRECATED_FOR (
  f
)

Description

This macro is similar to G_GNUC_DEPRECATED_FOR, and can be used to mark functions declarations as deprecated. Unlike G_GNUC_DEPRECATED_FOR, it is meant to be portable across different compilers and must be placed before the function declaration.

|[<!— language=”C” — G_DEPRECATED_FOR(my_replacement) int my_mistake (void); ]|

Available since: 2.32

This function is not directly available to language bindings.

Parameters

f

Type: -

The name of the function that this function was deprecated for.