glib: Add (inout) annotations to g_[hmac|checksum]_get_digest()

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Reviewed-by: nobody
This commit is contained in:
Philip Withnall 2018-03-20 20:21:32 +00:00
parent eb8233a020
commit 71eccfeec7
2 changed files with 4 additions and 4 deletions

View File

@ -1682,8 +1682,8 @@ g_checksum_get_string (GChecksum *checksum)
/**
* g_checksum_get_digest: (skip)
* @checksum: a #GChecksum
* @buffer: output buffer
* @digest_len: an inout parameter. The caller initializes it to the size of @buffer.
* @buffer: (array length=digest_len): output buffer
* @digest_len: (inout): an inout parameter. The caller initializes it to the size of @buffer.
* After the call it contains the length of the digest.
*
* Gets the digest from @checksum as a raw binary vector and places it

View File

@ -300,8 +300,8 @@ g_hmac_get_string (GHmac *hmac)
/**
* g_hmac_get_digest:
* @hmac: a #GHmac
* @buffer: output buffer
* @digest_len: an inout parameter. The caller initializes it to the
* @buffer: (array length=digest_len): output buffer
* @digest_len: (inout): an inout parameter. The caller initializes it to the
* size of @buffer. After the call it contains the length of the digest
*
* Gets the digest from @checksum as a raw binary array and places it