diff options
author | Colin Walters <walters@verbum.org> | 2010-07-21 21:06:17 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-08-31 16:05:56 -0400 |
commit | e66d50732c8ce5cf3ef198e114d94e102a1c4911 (patch) | |
tree | 11136782cda96b23479e388197bcf58736842e2d /girepository/girepository.c | |
parent | abc4e514ff46ed77159b19f56dea54eeef8bc909 (diff) | |
download | gobject-introspection-e66d50732c8ce5cf3ef198e114d94e102a1c4911.tar.gz |
Use GLib types consistently
Rather than have the scanner/parser handle both e.g. "glong" and
"long", simply use the GLib types everywhere.
This commit adds TYPE_LONG_LONG and TYPE_LONG_DOUBLE to the
scanner types; however, rather than add them to the typelib,
they're just marked as not-introspectable.
Diffstat (limited to 'girepository/girepository.c')
-rw-r--r-- | girepository/girepository.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/girepository/girepository.c b/girepository/girepository.c index 288055ce..68995746 100644 --- a/girepository/girepository.c +++ b/girepository/girepository.c @@ -1445,27 +1445,27 @@ g_type_tag_to_string (GITypeTag type) case GI_TYPE_TAG_VOID: return "void"; case GI_TYPE_TAG_BOOLEAN: - return "boolean"; + return "gboolean"; case GI_TYPE_TAG_INT8: - return "int8"; + return "gint8"; case GI_TYPE_TAG_UINT8: - return "uint8"; + return "guint8"; case GI_TYPE_TAG_INT16: - return "int16"; + return "gint16"; case GI_TYPE_TAG_UINT16: - return "uint16"; + return "guint16"; case GI_TYPE_TAG_INT32: - return "int32"; + return "gint32"; case GI_TYPE_TAG_UINT32: - return "uint32"; + return "guint32"; case GI_TYPE_TAG_INT64: - return "int64"; + return "gint64"; case GI_TYPE_TAG_UINT64: - return "uint64"; + return "guint64"; case GI_TYPE_TAG_FLOAT: - return "float"; + return "gfloat"; case GI_TYPE_TAG_DOUBLE: - return "double"; + return "gdouble"; case GI_TYPE_TAG_GTYPE: return "GType"; case GI_TYPE_TAG_UTF8: |