mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-02 06:47:13 +01: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:
@@ -33,43 +33,57 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GBytes * g_bytes_new (gconstpointer data,
|
||||
gsize size);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GBytes * g_bytes_new_take (gpointer data,
|
||||
gsize size);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GBytes * g_bytes_new_static (gconstpointer data,
|
||||
gsize size);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GBytes * g_bytes_new_with_free_func (gconstpointer data,
|
||||
gsize size,
|
||||
GDestroyNotify free_func,
|
||||
gpointer user_data);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GBytes * g_bytes_new_from_bytes (GBytes *bytes,
|
||||
gsize offset,
|
||||
gsize length);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gconstpointer g_bytes_get_data (GBytes *bytes,
|
||||
gsize *size);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gsize g_bytes_get_size (GBytes *bytes);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GBytes * g_bytes_ref (GBytes *bytes);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
void g_bytes_unref (GBytes *bytes);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gpointer g_bytes_unref_to_data (GBytes *bytes,
|
||||
gsize *size);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GByteArray * g_bytes_unref_to_array (GBytes *bytes);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
guint g_bytes_hash (gconstpointer bytes);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_bytes_equal (gconstpointer bytes1,
|
||||
gconstpointer bytes2);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gint g_bytes_compare (gconstpointer bytes1,
|
||||
gconstpointer bytes2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user