Top |
#define | GI_TYPE_TAG_IS_BASIC() |
#define | GI_TYPE_TAG_IS_CONTAINER() |
#define | GI_TYPE_TAG_IS_NUMERIC() |
#define | G_TYPE_TAG_IS_BASIC() |
const gchar * | g_type_tag_to_string () |
#define GI_TYPE_TAG_IS_BASIC(tag) ((tag) < GI_TYPE_TAG_ARRAY || (tag) == GI_TYPE_TAG_UNICHAR)
Checks if tag
is a basic type.
Since: 1.72
#define GI_TYPE_TAG_IS_CONTAINER(tag)
Checks if tag
is a container type. That is, a type which may have a nonnull
return from g_type_info_get_param_type()
.
Since: 1.72
#define GI_TYPE_TAG_IS_NUMERIC(tag) ((tag) >= GI_TYPE_TAG_INT8 && (tag) <= GI_TYPE_TAG_DOUBLE)
Checks if tag
is a numeric type. That is, integer or floating point.
Since: 1.72
#define G_TYPE_TAG_IS_BASIC(tag) GI_TYPE_TAG_IS_BASIC(tag)
G_TYPE_TAG_IS_BASIC
has been deprecated since version 1.72 and should not be used in newly-written code.
Use GI_TYPE_TAG_IS_BASIC()
instead
Checks if tag
is a basic type.
const gchar *
g_type_tag_to_string (GITypeTag type
);
Obtain a string representation of type
Stores an argument of varying type
The type tag of a GITypeInfo.
void |
||
boolean |
||
8-bit signed integer |
||
8-bit unsigned integer |
||
16-bit signed integer |
||
16-bit unsigned integer |
||
32-bit signed integer |
||
32-bit unsigned integer |
||
64-bit signed integer |
||
64-bit unsigned integer |
||
float |
||
double floating point |
||
a GType |
||
a UTF-8 encoded string |
||
a filename, encoded in the same encoding as the native filesystem is using. |
||
an array |
||
an extended interface object |
||
a GList |
||
a GSList |
||
a GHashTable |
||
a GError |
||
Unicode character |