[gcr] Fix annotation warnings
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcr] Fix annotation warnings
- Date: Sat, 22 Dec 2012 14:44:13 +0000 (UTC)
commit 40a38a3bd94f54e098756f8947819b48da81009f
Author: Stef Walter <stefw gnome org>
Date: Sat Dec 22 13:18:59 2012 +0100
Fix annotation warnings
Add annotations for gck_slot_get_mechanism()
gck/gck-slot.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gck/gck-slot.c b/gck/gck-slot.c
index 7dd3c2a..5b3580a 100644
--- a/gck/gck-slot.c
+++ b/gck/gck-slot.c
@@ -404,7 +404,8 @@ gck_mechanism_info_free (GckMechanismInfo *mech_info)
/**
* gck_mechanisms_check:
- * @mechanisms: A list of mechanisms, perhaps retrieved from gck_slot_get_mechanisms().
+ * @mechanisms: (element-type ulong): A list of mechanisms, perhaps
+ * retrieved from gck_slot_get_mechanisms().
* @...: A list of mechanism types followed by GCK_INVALID.
*
* Check whether all the mechanism types are in the list.
@@ -744,8 +745,8 @@ gck_slot_get_token_info (GckSlot *self)
*
* Get the available mechanisms for this slot.
*
- * Returns: (transfer full): a list of the mechanisms for this slot, which should
- * be freed with g_array_free ()
+ * Returns: (transfer full) (element-type ulong): a list of the mechanisms
+ * for this slot, which should be freed with g_array_free ()
**/
GArray *
gck_slot_get_mechanisms (GckSlot *self)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]