[glib/gvariant: 23/23] gvarianttypeinfo: use G_GNUC_INTERNAL, not galias
- From: Ryan Lortie <ryanl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [glib/gvariant: 23/23] gvarianttypeinfo: use G_GNUC_INTERNAL, not galias
- Date: Fri, 29 Jan 2010 07:01:13 +0000 (UTC)
commit 96f21000d1c2bb3c087522a829529172b64cc6aa
Author: Ryan Lortie <desrt desrt ca>
Date: Fri Jan 29 02:00:07 2010 -0500
gvarianttypeinfo: use G_GNUC_INTERNAL, not galias
glib/gvarianttypeinfo.c | 3 ---
glib/gvarianttypeinfo.h | 11 +++++++++++
2 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/glib/gvarianttypeinfo.c b/glib/gvarianttypeinfo.c
index bfeb1ad..f1e2145 100644
--- a/glib/gvarianttypeinfo.c
+++ b/glib/gvarianttypeinfo.c
@@ -465,6 +465,3 @@ g_variant_type_info_unref (GVariantTypeInfo *info)
}
}
}
-
-#define __G_VARIANT_TYPE_INFO_C__
-#include "galiasdef.c"
diff --git a/glib/gvarianttypeinfo.h b/glib/gvarianttypeinfo.h
index bb5d0b6..c23af94 100644
--- a/glib/gvarianttypeinfo.h
+++ b/glib/gvarianttypeinfo.h
@@ -36,28 +36,39 @@ typedef struct
#define STRUCT_MEMBER_VARIABLE (-2)
/* query */
+G_GNUC_INTERNAL
const GVariantType * g_variant_type_info_get_type (GVariantTypeInfo *typeinfo);
+G_GNUC_INTERNAL
GVariantClass g_variant_type_info_get_class (GVariantTypeInfo *typeinfo);
+G_GNUC_INTERNAL
const gchar * g_variant_type_info_get_string (GVariantTypeInfo *typeinfo);
+G_GNUC_INTERNAL
void g_variant_type_info_query (GVariantTypeInfo *typeinfo,
guint *alignment,
gsize *size);
/* array */
+G_GNUC_INTERNAL
GVariantTypeInfo * g_variant_type_info_element (GVariantTypeInfo *typeinfo);
+G_GNUC_INTERNAL
void g_variant_type_info_query_element (GVariantTypeInfo *typeinfo,
guint *alignment,
gsize *size);
/* structure */
+G_GNUC_INTERNAL
gsize g_variant_type_info_n_members (GVariantTypeInfo *typeinfo);
+G_GNUC_INTERNAL
const GVariantMemberInfo * g_variant_type_info_member_info (GVariantTypeInfo *typeinfo,
gsize index);
/* new/ref/unref */
+G_GNUC_INTERNAL
GVariantTypeInfo * g_variant_type_info_get (const GVariantType *type);
+G_GNUC_INTERNAL
GVariantTypeInfo * g_variant_type_info_ref (GVariantTypeInfo *typeinfo);
+G_GNUC_INTERNAL
void g_variant_type_info_unref (GVariantTypeInfo *typeinfo);
#endif /* __G_VARIANT_TYPE_INFO_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]