mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
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:
parent
eb8233a020
commit
71eccfeec7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user