Commit 71eccfee authored by Philip Withnall's avatar Philip Withnall

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

Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
Reviewed-by: nobody
parent eb8233a0
Pipeline #6634 passed with stage
in 4 minutes and 22 seconds
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment