mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
Merge branch 'wip/chergert/gvarianttype-proper-const' into 'main'
gvarianttype: mark const functions as such See merge request GNOME/glib!4294
This commit is contained in:
commit
765eea0a78
@ -286,7 +286,7 @@ typedef struct _GVariantType GVariantType;
|
|||||||
|
|
||||||
/* type string checking */
|
/* type string checking */
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
gboolean g_variant_type_string_is_valid (const gchar *type_string);
|
gboolean g_variant_type_string_is_valid (const gchar *type_string) G_GNUC_CONST;
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
gboolean g_variant_type_string_scan (const gchar *string,
|
gboolean g_variant_type_string_scan (const gchar *string,
|
||||||
const gchar *limit,
|
const gchar *limit,
|
||||||
@ -310,21 +310,21 @@ gchar * g_variant_type_dup_string (const G
|
|||||||
|
|
||||||
/* classification */
|
/* classification */
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
gboolean g_variant_type_is_definite (const GVariantType *type);
|
gboolean g_variant_type_is_definite (const GVariantType *type) G_GNUC_CONST;
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
gboolean g_variant_type_is_container (const GVariantType *type);
|
gboolean g_variant_type_is_container (const GVariantType *type) G_GNUC_CONST;
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
gboolean g_variant_type_is_basic (const GVariantType *type);
|
gboolean g_variant_type_is_basic (const GVariantType *type) G_GNUC_CONST;
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
gboolean g_variant_type_is_maybe (const GVariantType *type);
|
gboolean g_variant_type_is_maybe (const GVariantType *type) G_GNUC_CONST;
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
gboolean g_variant_type_is_array (const GVariantType *type);
|
gboolean g_variant_type_is_array (const GVariantType *type) G_GNUC_CONST;
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
gboolean g_variant_type_is_tuple (const GVariantType *type);
|
gboolean g_variant_type_is_tuple (const GVariantType *type) G_GNUC_CONST;
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
gboolean g_variant_type_is_dict_entry (const GVariantType *type);
|
gboolean g_variant_type_is_dict_entry (const GVariantType *type) G_GNUC_CONST;
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
gboolean g_variant_type_is_variant (const GVariantType *type);
|
gboolean g_variant_type_is_variant (const GVariantType *type) G_GNUC_CONST;
|
||||||
|
|
||||||
/* for hash tables */
|
/* for hash tables */
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
@ -336,21 +336,21 @@ gboolean g_variant_type_equal (gconstp
|
|||||||
/* subtypes */
|
/* subtypes */
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
gboolean g_variant_type_is_subtype_of (const GVariantType *type,
|
gboolean g_variant_type_is_subtype_of (const GVariantType *type,
|
||||||
const GVariantType *supertype);
|
const GVariantType *supertype) G_GNUC_CONST;
|
||||||
|
|
||||||
/* type iterator interface */
|
/* type iterator interface */
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
const GVariantType * g_variant_type_element (const GVariantType *type);
|
const GVariantType * g_variant_type_element (const GVariantType *type) G_GNUC_CONST;
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
const GVariantType * g_variant_type_first (const GVariantType *type);
|
const GVariantType * g_variant_type_first (const GVariantType *type) G_GNUC_CONST;
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
const GVariantType * g_variant_type_next (const GVariantType *type);
|
const GVariantType * g_variant_type_next (const GVariantType *type) G_GNUC_CONST;
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
gsize g_variant_type_n_items (const GVariantType *type);
|
gsize g_variant_type_n_items (const GVariantType *type) G_GNUC_CONST;
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
const GVariantType * g_variant_type_key (const GVariantType *type);
|
const GVariantType * g_variant_type_key (const GVariantType *type) G_GNUC_CONST;
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
const GVariantType * g_variant_type_value (const GVariantType *type);
|
const GVariantType * g_variant_type_value (const GVariantType *type) G_GNUC_CONST;
|
||||||
|
|
||||||
/* constructors */
|
/* constructors */
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
|
Loading…
Reference in New Issue
Block a user