Function Macro

GLibDEPRECATED_FOR

Declaration [src]

#define G_DEPRECATED_FOR (
  f
)

Description [src]

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

Parameters

f -
 

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