X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fgvarianttypeinfo.h;h=0714d78c73041471c121b2ce9b4af01a79b0cb4b;hb=20f6cc2a10ba26860e7a6d27c100deadb5497772;hp=aaf14f4dd3f2a83ba5c4938388ad717a1c8f1c1c;hpb=d85b722734a6fcfe94032f6113de9e5c190fd7c3;p=platform%2Fupstream%2Fglib.git diff --git a/glib/gvarianttypeinfo.h b/glib/gvarianttypeinfo.h index aaf14f4..0714d78 100644 --- a/glib/gvarianttypeinfo.h +++ b/glib/gvarianttypeinfo.h @@ -13,9 +13,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library; if not, see . * * Author: Ryan Lortie */ @@ -125,27 +123,37 @@ typedef struct #define G_VARIANT_MEMBER_ENDING_OFFSET 2 /* query */ +GLIB_AVAILABLE_IN_ALL const gchar * g_variant_type_info_get_type_string (GVariantTypeInfo *typeinfo); +GLIB_AVAILABLE_IN_ALL void g_variant_type_info_query (GVariantTypeInfo *typeinfo, guint *alignment, gsize *size); /* array */ +GLIB_AVAILABLE_IN_ALL GVariantTypeInfo * g_variant_type_info_element (GVariantTypeInfo *typeinfo); +GLIB_AVAILABLE_IN_ALL void g_variant_type_info_query_element (GVariantTypeInfo *typeinfo, guint *alignment, gsize *size); /* structure */ +GLIB_AVAILABLE_IN_ALL gsize g_variant_type_info_n_members (GVariantTypeInfo *typeinfo); +GLIB_AVAILABLE_IN_ALL const GVariantMemberInfo * g_variant_type_info_member_info (GVariantTypeInfo *typeinfo, gsize index); /* new/ref/unref */ +GLIB_AVAILABLE_IN_ALL GVariantTypeInfo * g_variant_type_info_get (const GVariantType *type); +GLIB_AVAILABLE_IN_ALL GVariantTypeInfo * g_variant_type_info_ref (GVariantTypeInfo *typeinfo); +GLIB_AVAILABLE_IN_ALL void g_variant_type_info_unref (GVariantTypeInfo *typeinfo); +GLIB_AVAILABLE_IN_ALL void g_variant_type_info_assert_no_infos (void); #endif /* __G_VARIANT_TYPE_INFO_H__ */