From 40a38a3bd94f54e098756f8947819b48da81009f Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 22 Dec 2012 13:18:59 +0100 Subject: [PATCH] Fix annotation warnings Add annotations for gck_slot_get_mechanism() --- gck/gck-slot.c | 7 ++++--- 1 file 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) -- 2.7.4