summaryrefslogtreecommitdiffstats
path: root/src/kiro-trb.h
diff options
context:
space:
mode:
authorTimo Dritschler <timo.dritschler@kit.edu>2015-04-15 16:53:05 +0200
committerTimo Dritschler <timo.dritschler@kit.edu>2015-04-15 16:53:05 +0200
commit025516267599a6c97b334b8e47ba1679f81052a7 (patch)
tree8d82b4e8e3501ea119b18ac05c90419027e5a80f /src/kiro-trb.h
parent019504a32e56d5bd6ae7b0cbdcbec2e114e6f638 (diff)
downloadkiro-025516267599a6c97b334b8e47ba1679f81052a7.tar.gz
kiro-025516267599a6c97b334b8e47ba1679f81052a7.tar.bz2
kiro-025516267599a6c97b334b8e47ba1679f81052a7.tar.xz
kiro-025516267599a6c97b334b8e47ba1679f81052a7.zip
Changed gi.introspection handling for pointers to and from KIRO
Diffstat (limited to 'src/kiro-trb.h')
-rw-r--r--src/kiro-trb.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/kiro-trb.h b/src/kiro-trb.h
index 3549a1d..779aae9 100644
--- a/src/kiro-trb.h
+++ b/src/kiro-trb.h
@@ -150,7 +150,7 @@ uint64_t kiro_trb_get_raw_size (KiroTrb *trb);
*
* Returns a pointer to the memory structure of the given buffer.
*
- * Returns: (transfer none): a pointer to the buffer memory
+ * Returns: (transfer none) (type gulong): a pointer to the buffer memory
* Notes:
* The returned pointer points to the beginning of the internal
* memory of the buffer, including all header information. The
@@ -177,7 +177,8 @@ void* kiro_trb_get_raw_buffer (KiroTrb *trb);
*
* Returns a pointer to the element in the buffer at the given index.
*
- * Returns: (transfer none): a pointer to the element at the given index.
+ * Returns: (transfer none) (type gulong):
+ * A pointer to the element at the given index.
* Notes:
* The returned pointer to the element is only guaranteed to be valid
* immediately after the function call. The user is responsible to
@@ -203,7 +204,8 @@ void* kiro_trb_get_element (KiroTrb *trb, glong index);
* all internal counters and meta data as if an element was pushed
* onto the buffer.
*
- * Returns: (transfer none): Pointer to the bginning of element memory
+ * Returns: (transfer none) (type gulong):
+ * Pointer to the bginning of element memory
* Notes:
* The returned pointer to the element is only guaranteed to be valid
* immediately after the function call. The user is responsible to
@@ -298,7 +300,8 @@ int kiro_trb_reshape (KiroTrb *trb, uint64_t element_size, uint64_t element_coun
/**
* kiro_trb_clone:
* @trb: (transfer none); #KiroTrb to perform the operation on
- * @source: Pointer to the source memory to clone from
+ * @source: (transfer none) (type gulong):
+ * Pointer to the source memory to clone from
*
* Interprets the given memory as a pointer to another KIRO TRB and
* tries to copy that memory into its own.
@@ -321,7 +324,8 @@ int kiro_trb_clone (KiroTrb *trb, void *source);
/**
* kiro_trb_push:
* @trb: (transfer none): #KiroTrb to perform the operation on
- * @source: Pointer to the memory of the element to add
+ * @source: (transfer none) (type gulong):
+ * Pointer to the memory of the element to add
*
* Copies the given element and adds it into the buffer
*
@@ -361,7 +365,8 @@ void kiro_trb_refresh (KiroTrb *trb);
/**
* kiro_trb_adopt:
* @trb: (transfer none): #KiroTrb to perform the operation on
- * @source: Pointer to the source memory to adopt
+ * @source: (transfer full) (type gulong):
+ * Pointer to the source memory to adopt
*
* Interprets the given memory as a pointer to another KIRO TRB and
* takes ownership over the memory.