2004-12-03 22:17:46 +03:00
|
|
|
#ifndef MC_GLIBCOMPAT_H
|
|
|
|
#define MC_GLIBCOMPAT_H
|
2003-09-23 00:21:48 +04:00
|
|
|
|
2014-10-07 08:44:42 +04:00
|
|
|
#if ! GLIB_CHECK_VERSION (2, 22, 0)
|
|
|
|
#include <stdarg.h> /* for g_error_new_valist() */
|
|
|
|
#endif /* ! GLIB_CHECK_VERSION (2, 22, 0) */
|
|
|
|
|
2009-10-21 23:18:03 +04:00
|
|
|
/*** typedefs(not structures) and defined constants **********************************************/
|
|
|
|
|
|
|
|
/*** enums ***************************************************************************************/
|
|
|
|
|
|
|
|
/*** structures declarations (and typedefs of structures)*****************************************/
|
|
|
|
|
|
|
|
/*** global variables defined in .c file *********************************************************/
|
|
|
|
|
|
|
|
/*** declarations of public functions ************************************************************/
|
2003-11-20 23:25:33 +03:00
|
|
|
|
2009-10-21 23:18:03 +04:00
|
|
|
#if ! GLIB_CHECK_VERSION (2, 13, 0)
|
|
|
|
gboolean g_unichar_iszerowidth (gunichar);
|
|
|
|
#endif /* ! GLIB_CHECK_VERSION (2, 13, 0) */
|
2003-11-20 23:25:33 +03:00
|
|
|
|
2013-04-16 18:33:06 +04:00
|
|
|
#if ! GLIB_CHECK_VERSION (2, 16, 0)
|
|
|
|
int g_strcmp0 (const char *str1, const char *str2);
|
|
|
|
#endif /* ! GLIB_CHECK_VERSION (2, 16, 0) */
|
|
|
|
|
2014-08-05 10:00:42 +04:00
|
|
|
#if ! GLIB_CHECK_VERSION (2, 22, 0)
|
2014-09-02 15:57:56 +04:00
|
|
|
GError *g_error_new_valist (GQuark domain, gint code, const gchar * format, va_list args);
|
2014-08-05 10:00:42 +04:00
|
|
|
#endif /* ! GLIB_CHECK_VERSION (2, 22, 0) */
|
|
|
|
|
2013-11-04 11:56:14 +04:00
|
|
|
#if ! GLIB_CHECK_VERSION (2, 28, 0)
|
|
|
|
void g_slist_free_full (GSList * list, GDestroyNotify free_func);
|
2013-11-04 12:09:13 +04:00
|
|
|
void g_list_free_full (GList * list, GDestroyNotify free_func);
|
2013-11-04 11:56:14 +04:00
|
|
|
#endif /* ! GLIB_CHECK_VERSION (2, 28, 0) */
|
|
|
|
|
2010-11-08 13:21:45 +03:00
|
|
|
/*** inline functions ****************************************************************************/
|
2003-09-23 00:21:48 +04:00
|
|
|
|
2009-10-21 23:18:03 +04:00
|
|
|
#endif /* MC_GLIBCOMPAT_H */
|