mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
giconstantinfo: Correctly represent a size as gsize
Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3155
This commit is contained in:
parent
5cb8b9b826
commit
14e5844f3d
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user