Merge branch 'buffer-func-annotation' into 'gtk-3-24'
Fix annotation of serialize and deserialize function See merge request GNOME/gtk!4893
This commit is contained in:
@ -34,14 +34,14 @@ G_BEGIN_DECLS
|
|||||||
* @content_buffer: the #GtkTextBuffer to serialize
|
* @content_buffer: the #GtkTextBuffer to serialize
|
||||||
* @start: start of the block of text to serialize
|
* @start: start of the block of text to serialize
|
||||||
* @end: end of the block of text to serialize
|
* @end: end of the block of text to serialize
|
||||||
* @length: Return location for the length of the serialized data
|
* @length: (out): return location for the length of the serialized data
|
||||||
* @user_data: user data that was specified when registering the format
|
* @user_data: user data that was specified when registering the format
|
||||||
*
|
*
|
||||||
* A function that is called to serialize the content of a text buffer.
|
* A function that is called to serialize the content of a text buffer.
|
||||||
* It must return the serialized form of the content.
|
* It must return the serialized form of the content.
|
||||||
*
|
*
|
||||||
* Returns: (nullable): a newly-allocated array of guint8 which contains
|
* Returns: (array length=length) (nullable): a newly-allocated array of guint8
|
||||||
* the serialized data, or %NULL if an error occurred
|
* which contains the serialized data, or %NULL if an error occurred
|
||||||
*/
|
*/
|
||||||
typedef guint8 * (* GtkTextBufferSerializeFunc) (GtkTextBuffer *register_buffer,
|
typedef guint8 * (* GtkTextBufferSerializeFunc) (GtkTextBuffer *register_buffer,
|
||||||
GtkTextBuffer *content_buffer,
|
GtkTextBuffer *content_buffer,
|
||||||
|
|||||||
Reference in New Issue
Block a user