gvaluetypes.h | gvaluetypes.h | |||
---|---|---|---|---|
skipping to change at line 166 | skipping to change at line 166 | |||
/** | /** | |||
* G_VALUE_HOLDS_GTYPE: | * G_VALUE_HOLDS_GTYPE: | |||
* @value: a valid #GValue structure | * @value: a valid #GValue structure | |||
* | * | |||
* Checks whether the given #GValue can hold values of type %G_TYPE_GTYPE. | * Checks whether the given #GValue can hold values of type %G_TYPE_GTYPE. | |||
* | * | |||
* Since: 2.12 | * Since: 2.12 | |||
* Returns: %TRUE on success. | * Returns: %TRUE on success. | |||
*/ | */ | |||
#define G_VALUE_HOLDS_GTYPE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_GTYPE)) | #define G_VALUE_HOLDS_GTYPE(value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_TYPE_GTYPE)) | |||
/** | ||||
* G_VALUE_HOLDS_VARIANT: | ||||
* @value: a valid #GValue structure | ||||
* | ||||
* Checks whether the given #GValue can hold values of type %G_TYPE_VARIANT | ||||
. | ||||
* | ||||
* Returns: %TRUE on success. | ||||
* | ||||
* Since: 2.26 | ||||
*/ | ||||
#define G_VALUE_HOLDS_VARIANT(value) (G_TYPE_CHECK_VALUE_TYPE ((value), | ||||
G_TYPE_VARIANT)) | ||||
/* --- prototypes --- */ | /* --- prototypes --- */ | |||
void g_value_set_char (GValue *value, | void g_value_set_char (GValue *value, | |||
gchar v_char); | gchar v_char); | |||
gchar g_value_get_char (const GValue *value); | gchar g_value_get_char (const GValue *value); | |||
void g_value_set_uchar (GValue *value, | void g_value_set_uchar (GValue *value, | |||
guchar v_uchar); | guchar v_uchar); | |||
guchar g_value_get_uchar (const GValue *value); | guchar g_value_get_uchar (const GValue *value); | |||
void g_value_set_boolean (GValue *value, | void g_value_set_boolean (GValue *value, | |||
gboolean v_boolean); | gboolean v_boolean); | |||
skipping to change at line 214 | skipping to change at line 225 | |||
const gchar *v_string); | const gchar *v_string); | |||
G_CONST_RETURN gchar* g_value_get_string (const GValue *value); | G_CONST_RETURN gchar* g_value_get_string (const GValue *value); | |||
gchar* g_value_dup_string (const GValue *value); | gchar* g_value_dup_string (const GValue *value); | |||
void g_value_set_pointer (GValue *value, | void g_value_set_pointer (GValue *value, | |||
gpointer v_pointer); | gpointer v_pointer); | |||
gpointer g_value_get_pointer (const GValue *value); | gpointer g_value_get_pointer (const GValue *value); | |||
GType g_gtype_get_type (void); | GType g_gtype_get_type (void); | |||
void g_value_set_gtype (GValue *value, | void g_value_set_gtype (GValue *value, | |||
GType v_gtype); | GType v_gtype); | |||
GType g_value_get_gtype (const GValue *value); | GType g_value_get_gtype (const GValue *value); | |||
void g_value_set_variant (GValue *value, | ||||
GVariant *variant); | ||||
void g_value_take_variant (GValue *value, | ||||
GVariant *variant); | ||||
GVariant* g_value_get_variant (const GValue *value); | ||||
GVariant* g_value_dup_variant (const GValue *value); | ||||
/* Convenience for registering new pointer types */ | /* Convenience for registering new pointer types */ | |||
GType g_pointer_type_register_static (const gchar *name); | GType g_pointer_type_register_static (const gchar *name); | |||
/* debugging aid, describe value contents as string */ | /* debugging aid, describe value contents as string */ | |||
gchar* g_strdup_value_contents (const GValue *value); | gchar* g_strdup_value_contents (const GValue *value); | |||
void g_value_take_string (GValue *value, | void g_value_take_string (GValue *value, | |||
gchar *v_string ); | gchar *v_string ); | |||
#ifndef G_DISABLE_DEPRECATED | #ifndef G_DISABLE_DEPRECATED | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 19 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |