In that file:
there are a few functions with an additional
_utf8 suffix when built for Windows:
They are defined with a directive:
#ifdef G_OS_WIN32 /* In previous versions these _utf8 variants where exported and linked to * by default. Export them here for ABI (and gi API) compat. */ GDK_PIXBUF_AVAILABLE_IN_ALL GdkPixbuf *gdk_pixbuf_new_from_file_utf8 (const char *filename, GError **error); ...
and there is also a variadic function:
#ifndef __GTK_DOC_IGNORE__ #ifdef G_OS_WIN32 /* DLL ABI stability hack. */ #define gdk_pixbuf_save gdk_pixbuf_save_utf8 #endif #endif GDK_PIXBUF_AVAILABLE_IN_ALL gboolean gdk_pixbuf_save (GdkPixbuf *pixbuf, const char *filename, const char *type, GError **error, ...) G_GNUC_NULL_TERMINATED;
On Windows, are we obliged to use those
*_utf8 functions ? Or are they still there only for compatibility with old stuff?