mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-23 15:49:16 +02: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.
|
* The size of the constant value stored in @argument will be returned.
|
||||||
* Free the value with gi_constant_info_free_value().
|
* 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,
|
gi_constant_info_get_value (GIConstantInfo *info,
|
||||||
GIArgument *value)
|
GIArgument *value)
|
||||||
{
|
{
|
||||||
|
@ -50,6 +50,6 @@ void gi_constant_info_free_value (GIConstantInfo *info,
|
|||||||
GIArgument *value);
|
GIArgument *value);
|
||||||
|
|
||||||
GI_AVAILABLE_IN_ALL
|
GI_AVAILABLE_IN_ALL
|
||||||
gint gi_constant_info_get_value (GIConstantInfo *info,
|
gsize gi_constant_info_get_value (GIConstantInfo *info,
|
||||||
GIArgument *value);
|
GIArgument *value);
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user