summaryrefslogtreecommitdiff
path: root/girepository/gitypes.h
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-06-05 12:11:58 -0300
committerJohan Dahlin <johan@gnome.org>2010-06-05 12:40:28 -0300
commit6039032537282a8f33ffb13c640bb824b5296650 (patch)
tree590006e960311e290202c715554a62aa45fe5050 /girepository/gitypes.h
parentbb832d71f7cb9648d2682ea490684da5f357bac0 (diff)
downloadgobject-introspection-6039032537282a8f33ffb13c640bb824b5296650.tar.gz
[girepository] Move GICallableInfo out of ginfo.ch
Diffstat (limited to 'girepository/gitypes.h')
-rw-r--r--girepository/gitypes.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/girepository/gitypes.h b/girepository/gitypes.h
index 49fe017d..424e4ebf 100644
--- a/girepository/gitypes.h
+++ b/girepository/gitypes.h
@@ -243,6 +243,22 @@ typedef enum
GI_INFO_TYPE_UNRESOLVED
} GIInfoType;
+/**
+ * GITransfer:
+ * @GI_TRANSFER_NOTHING: transfer nothing to the caller
+ * @GI_TRANSFER_CONTAINER: transfer the container (eg list, array,
+ * hashtable), but no the contents to the caller.
+ * @GI_TRANSFER_EVERYTHING: transfer everything to the caller.
+ *
+ * Represent the transfer ownership information of a #GICallableInfo or
+ * a #GIArgInfo.
+ */
+typedef enum {
+ GI_TRANSFER_NOTHING,
+ GI_TRANSFER_CONTAINER,
+ GI_TRANSFER_EVERYTHING
+} GITransfer;
+
G_END_DECLS