diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-07-12 08:34:44 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-07-12 08:34:44 +0900 |
commit | 095413828bd9b33e57b352f9ca80473172611202 (patch) | |
tree | 0674d8f4d1b10cb7a44622c57e220247c4fd3563 /gi/pygi-info.c | |
parent | 042fed5140cf6643eab1081664993b0d392f09ad (diff) | |
download | pygobject2-095413828bd9b33e57b352f9ca80473172611202.tar.gz pygobject2-095413828bd9b33e57b352f9ca80473172611202.tar.bz2 pygobject2-095413828bd9b33e57b352f9ca80473172611202.zip |
Imported Upstream version 2.21.5
Change-Id: I465414f431ac56eb7ff5445e4c6477db5713e4f7
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'gi/pygi-info.c')
-rw-r--r-- | gi/pygi-info.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/gi/pygi-info.c b/gi/pygi-info.c index 3d23271..7888ada 100644 --- a/gi/pygi-info.c +++ b/gi/pygi-info.c @@ -329,31 +329,12 @@ _pygi_g_type_tag_size (GITypeTag type_tag) case GI_TYPE_TAG_UINT64: size = sizeof (gint64); break; - case GI_TYPE_TAG_SHORT: - case GI_TYPE_TAG_USHORT: - size = sizeof (gshort); - break; - case GI_TYPE_TAG_INT: - case GI_TYPE_TAG_UINT: - size = sizeof (gint); - break; - case GI_TYPE_TAG_LONG: - case GI_TYPE_TAG_ULONG: - size = sizeof (glong); - break; - case GI_TYPE_TAG_SIZE: - case GI_TYPE_TAG_SSIZE: - size = sizeof (gsize); - break; case GI_TYPE_TAG_FLOAT: size = sizeof (gfloat); break; case GI_TYPE_TAG_DOUBLE: size = sizeof (gdouble); break; - case GI_TYPE_TAG_TIME_T: - size = sizeof (time_t); - break; case GI_TYPE_TAG_GTYPE: size = sizeof (GType); break; @@ -393,17 +374,8 @@ _pygi_g_type_info_size (GITypeInfo *type_info) case GI_TYPE_TAG_UINT32: case GI_TYPE_TAG_INT64: case GI_TYPE_TAG_UINT64: - case GI_TYPE_TAG_SHORT: - case GI_TYPE_TAG_USHORT: - case GI_TYPE_TAG_INT: - case GI_TYPE_TAG_UINT: - case GI_TYPE_TAG_LONG: - case GI_TYPE_TAG_ULONG: - case GI_TYPE_TAG_SIZE: - case GI_TYPE_TAG_SSIZE: case GI_TYPE_TAG_FLOAT: case GI_TYPE_TAG_DOUBLE: - case GI_TYPE_TAG_TIME_T: case GI_TYPE_TAG_GTYPE: if (g_type_info_is_pointer (type_info)) { size = sizeof (gpointer); @@ -780,19 +752,10 @@ pygi_g_struct_info_is_simple (GIStructInfo *struct_info) case GI_TYPE_TAG_UINT16: case GI_TYPE_TAG_INT32: case GI_TYPE_TAG_UINT32: - case GI_TYPE_TAG_SHORT: - case GI_TYPE_TAG_USHORT: - case GI_TYPE_TAG_INT: - case GI_TYPE_TAG_UINT: case GI_TYPE_TAG_INT64: case GI_TYPE_TAG_UINT64: - case GI_TYPE_TAG_LONG: - case GI_TYPE_TAG_ULONG: - case GI_TYPE_TAG_SSIZE: - case GI_TYPE_TAG_SIZE: case GI_TYPE_TAG_FLOAT: case GI_TYPE_TAG_DOUBLE: - case GI_TYPE_TAG_TIME_T: if (g_type_info_is_pointer (field_type_info)) { is_simple = FALSE; } |