Generic Values A polymorphic type that can hold values of any other type. The #GValue structure is basically a variable container that consists of a type identifier and a specific value of that type. The type identifier within a #GValue structure always determines the type of the associated value. To create a undefined #GValue structure, simply create a zero-filled #GValue structure. To initialize the #GValue, use the g_value_init() function. A #GValue cannot be used until it is initialized. The basic type operations (such as freeing and copying) are determined by the #GTypeValueTable associated with the type ID stored in the #GValue. Other #GValue operations (such as converting values between types) are provided by this interface. The fundamental types which all support #GValue operations and thus can be used as a type initializer for g_value_init() are defined by a separate interface. See the Standard Values API for details. Returns #TRUE 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. @value: @type: Returns the type identifier of @value. @value: A #GValue structure. Returns the type name of @value. @value: A #GValue structure. Return 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. @type: A #GType value. @Returns: Whether @type is suitable as a #GValue type. Returns #TRUE if @value is a valid and initialized #GValue structure. @value: A #GValue structure. @value1: @value2: A mostly opaque structure used to hold a #GValue object. Mostly because the data within the structure has protected scope: it is accessible only to functions within a #GTypeValueTable structure, or implementations of the g_value_*() API. Initializes @value with the default value of @type. @value: A zero-filled (uninitialized) #GValue structure. @g_type: Type the #GValue should hold values of. @Returns: Copies the value of @src_value into @dest_value. @src_value: An initialized #GValue structure. @dest_value: An initialized #GValue structure of the same type as @src_value. Clears the current value in @value and resets it to the default value (as if the value had just been initialized). @value: An initialized #GValue structure. @Returns: Clears the current value in @value and "unsets" the type, this releases all resources associated with this GValue. An unset value is the same as an uninitialized (zero-filled) #GValue structure. @value: An initialized #GValue structure. Determines if @value will fit inside the size of a pointer value. This is an internal function introduced mainly for C marshallers. @value: An initialized #GValue structure. @Returns: #TRUE if @value will fit inside a pointer value. Return the value contents as pointer. This function asserts that g_value_fits_pointer() returned #TRUE for the passed in value. This is an internal function introduced mainly for C marshallers. @value: An initialized #GValue structure. @Returns: #TRUE if @value will fit inside a pointer value. @src_type: @dest_type: @Returns: @src_type: @dest_type: @Returns: @src_value: @dest_value: @Returns: @src_value: @dest_value: @src_type: @dest_type: @transform_func: