mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
8c88aa01ad
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
34 lines
1.3 KiB
C
34 lines
1.3 KiB
C
#ifndef MC_GLIBCOMPAT_H
|
|
#define MC_GLIBCOMPAT_H
|
|
|
|
#if ! GLIB_CHECK_VERSION (2, 22, 0)
|
|
#include <stdarg.h> /* for g_error_new_valist() */
|
|
#endif /* ! GLIB_CHECK_VERSION (2, 22, 0) */
|
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
/*** declarations of public functions ************************************************************/
|
|
|
|
#if ! GLIB_CHECK_VERSION (2, 16, 0)
|
|
int g_strcmp0 (const char *str1, const char *str2);
|
|
#endif /* ! GLIB_CHECK_VERSION (2, 16, 0) */
|
|
|
|
#if ! GLIB_CHECK_VERSION (2, 22, 0)
|
|
GError *g_error_new_valist (GQuark domain, gint code, const gchar * format, va_list args);
|
|
#endif /* ! GLIB_CHECK_VERSION (2, 22, 0) */
|
|
|
|
#if ! GLIB_CHECK_VERSION (2, 28, 0)
|
|
void g_slist_free_full (GSList * list, GDestroyNotify free_func);
|
|
void g_list_free_full (GList * list, GDestroyNotify free_func);
|
|
#endif /* ! GLIB_CHECK_VERSION (2, 28, 0) */
|
|
|
|
/*** inline functions ****************************************************************************/
|
|
|
|
#endif /* MC_GLIBCOMPAT_H */
|