giconstantinfo: Correctly represent a size as gsize

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: #3155
This commit is contained in:
Philip Withnall 2023-12-12 17:42:32 +00:00
parent 5cb8b9b826
commit 14e5844f3d
2 changed files with 3 additions and 3 deletions

View File

@ -108,9 +108,9 @@ gi_constant_info_free_value (GIConstantInfo *info,
* The size of the constant value stored in @argument will be returned.
* Free the value with gi_constant_info_free_value().
*
* Returns: size of the constant
* Returns: size of the constant, in bytes
*/
gint
gsize
gi_constant_info_get_value (GIConstantInfo *info,
GIArgument *value)
{

View File

@ -50,6 +50,6 @@ void gi_constant_info_free_value (GIConstantInfo *info,
GIArgument *value);
GI_AVAILABLE_IN_ALL
gint gi_constant_info_get_value (GIConstantInfo *info,
gsize gi_constant_info_get_value (GIConstantInfo *info,
GIArgument *value);
G_END_DECLS