mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-21 16:38:54 +02:00
various: add GLIB_AVAILABLE_IN_ALL everywhere else
Add the GLIB_AVAILABLE_IN_ALL annotation to all old functions (that haven't already been annotated with the GLIB_AVAILABLE_IN_* macros or a deprecation macro). If we discover in the future that we cannot use only one macro on Windows, it will be an easy sed patch to fix that. https://bugzilla.gnome.org/show_bug.cgi?id=688681
This commit is contained in:
@@ -28,11 +28,16 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_hostname_is_non_ascii (const gchar *hostname);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_hostname_is_ascii_encoded (const gchar *hostname);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_hostname_is_ip_address (const gchar *hostname);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gchar *g_hostname_to_ascii (const gchar *hostname);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gchar *g_hostname_to_unicode (const gchar *hostname);
|
||||
|
||||
G_END_DECLS
|
||||
|
Reference in New Issue
Block a user