Go to the source code of this file.
◆ G_IS_VALUE
G_IS_VALUE: @value: A GValue structure.
Checks if @value is a valid and initialized GValue structure.
Returns: TRUE on success.
Definition at line 53 of file gvalue.h.
◆ G_TYPE_IS_VALUE
G_TYPE_IS_VALUE: @type: A GType value.
Checks whether the passed in type ID can be used for g_value_init().
That is, this macro checks whether this type provides an implementation of the GTypeValueTable functions required for a type to create a GValue of.
Returns: Whether @type is suitable as a GValue type.
Definition at line 44 of file gvalue.h.
◆ G_VALUE_HOLDS
G_VALUE_HOLDS: @value: A GValue structure. @type: A GType value.
Checks if @value holds (or contains) a value of @type. This macro will also check for @value != NULL and issue a warning if the check fails.
Returns: TRUE if @value holds the @type.
Definition at line 83 of file gvalue.h.
◆ G_VALUE_INIT
#define G_VALUE_INIT { 0, { { 0 } } } |
G_VALUE_INIT:
A GValue must be initialized before it can be used. This macro can be used as initializer instead of an explicit { 0 }
when declaring a variable, but it cannot be assigned to a variable.
|[ GValue value = G_VALUE_INIT; ]|
Since: 2.30
Definition at line 207 of file gvalue.h.
◆ G_VALUE_INTERNED_STRING
G_VALUE_INTERNED_STRING:
For string values, indicates that the string contained is canonical and will exist for the duration of the process. See g_value_set_interned_string().
Since: 2.66
Definition at line 192 of file gvalue.h.
◆ G_VALUE_NOCOPY_CONTENTS
#define G_VALUE_NOCOPY_CONTENTS (1 << 27) |
G_VALUE_NOCOPY_CONTENTS:
If passed to G_VALUE_COLLECT(), allocated data won't be copied but used verbatim. This does not affect ref-counted types like objects. This does not affect usage of g_value_copy(), the data will be copied if it is not ref-counted.
Definition at line 182 of file gvalue.h.
◆ G_VALUE_TYPE
G_VALUE_TYPE: @value: A GValue structure.
Get the type identifier of @value.
Returns: the GType.
Definition at line 62 of file gvalue.h.
◆ G_VALUE_TYPE_NAME
G_VALUE_TYPE_NAME: @value: A GValue structure.
Gets the type name of @value.
Returns: the type name.
Definition at line 71 of file gvalue.h.
◆ GValueTransform
typedef void(* GValueTransform) (const GValue *src_value, GValue *dest_value) |
GValueTransform: @src_value: Source value. @dest_value: Target value.
The type of value transformation functions which can be registered with g_value_register_transform_func().
@dest_value will be initialized to the correct destination type.
Definition at line 97 of file gvalue.h.
◆ g_value_copy()
◆ g_value_fits_pointer()
◆ g_value_init()
◆ g_value_init_from_instance()
◆ g_value_peek_pointer()
◆ g_value_register_transform_func()
◆ g_value_reset()
◆ g_value_set_instance()
◆ g_value_transform()
◆ g_value_type_compatible()
◆ g_value_type_transformable()
◆ g_value_unset()