Top |
#define | GI_IS_CONSTANT_INFO() |
void | g_constant_info_free_value () |
GITypeInfo * | g_constant_info_get_type () |
gint | g_constant_info_get_value () |
GIConstantInfo represents a constant.
A constant has a type associated which can be obtained by calling
g_constant_info_get_type()
and a value, which can be obtained by
calling g_constant_info_get_value()
.
void g_constant_info_free_value (GIConstantInfo *info
,GIArgument *value
);
Free the value returned from g_constant_info_get_value()
.
[skip]
Since: 1.32
GITypeInfo *
g_constant_info_get_type (GIConstantInfo *info
);
Obtain the type of the constant as a GITypeInfo.
gint g_constant_info_get_value (GIConstantInfo *info
,GIArgument *value
);
Obtain the value associated with the GIConstantInfo and store it in the
value
parameter. argument
needs to be allocated before passing it in.
The size of the constant value stored in argument
will be returned.
Free the value with g_constant_info_free_value()
.
[skip]