mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-21 16:38:54 +02:00
gtlsconnection: Fix annotation
The array is allocated by the *caller*, not the callee, and then filled by the callee during the call. Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
This commit is contained in:
@@ -1113,7 +1113,7 @@ g_dtls_connection_get_negotiated_protocol (GDtlsConnection *conn)
|
|||||||
* g_dtls_connection_get_channel_binding_data:
|
* g_dtls_connection_get_channel_binding_data:
|
||||||
* @conn: a #GDtlsConnection
|
* @conn: a #GDtlsConnection
|
||||||
* @type: #GTlsChannelBindingType type of data to fetch
|
* @type: #GTlsChannelBindingType type of data to fetch
|
||||||
* @data: (out callee-allocates)(optional)(transfer none): #GByteArray is
|
* @data: (out caller-allocates) (optional) (transfer none): #GByteArray is
|
||||||
* filled with the binding data, or %NULL
|
* filled with the binding data, or %NULL
|
||||||
* @error: a #GError pointer, or %NULL
|
* @error: a #GError pointer, or %NULL
|
||||||
*
|
*
|
||||||
|
@@ -880,7 +880,7 @@ G_DEFINE_QUARK (g-tls-channel-binding-error-quark, g_tls_channel_binding_error)
|
|||||||
* g_tls_connection_get_channel_binding_data:
|
* g_tls_connection_get_channel_binding_data:
|
||||||
* @conn: a #GTlsConnection
|
* @conn: a #GTlsConnection
|
||||||
* @type: #GTlsChannelBindingType type of data to fetch
|
* @type: #GTlsChannelBindingType type of data to fetch
|
||||||
* @data: (out callee-allocates)(optional)(transfer none): #GByteArray is
|
* @data: (out caller-allocates) (optional) (transfer none): #GByteArray is
|
||||||
* filled with the binding data, or %NULL
|
* filled with the binding data, or %NULL
|
||||||
* @error: a #GError pointer, or %NULL
|
* @error: a #GError pointer, or %NULL
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user