summaryrefslogtreecommitdiff
path: root/girepository/giconstantinfo.h
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2011-10-05 16:31:43 -0400
committerJasper St. Pierre <jstpierre@mecheye.net>2011-10-05 16:46:33 -0400
commit8e970f46b8525396009d4d833a1f1cdacd3df6a1 (patch)
tree3b33e27ba1d2cca48d0ed7b259fca66738daee4c /girepository/giconstantinfo.h
parent25fb1964cbf603a457308a3ecb9ed177262763ef (diff)
downloadgobject-introspection-8e970f46b8525396009d4d833a1f1cdacd3df6a1.tar.gz
giconstantinfo: Add API to fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=654069
Diffstat (limited to 'girepository/giconstantinfo.h')
-rw-r--r--girepository/giconstantinfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/girepository/giconstantinfo.h b/girepository/giconstantinfo.h
index a2679bd2..2e7d697f 100644
--- a/girepository/giconstantinfo.h
+++ b/girepository/giconstantinfo.h
@@ -34,6 +34,8 @@ G_BEGIN_DECLS
(g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_CONSTANT)
GITypeInfo * g_constant_info_get_type (GIConstantInfo *info);
+void g_constant_info_free_value(GIConstantInfo *info,
+ GIArgument *value);
gint g_constant_info_get_value(GIConstantInfo *info,
GIArgument *value);
G_END_DECLS