girrepository: Replace usage of gsize with standard size_t

We just do a safe s/gsize/size_t/ replacement here without doing any
changes to places in which different size of size_t and gsize may be
actually different and create troubles.
This commit is contained in:
Marco Trevisan (Treviño)
2024-01-16 00:35:23 +01:00
parent c8aecbb834
commit bc2e4b3de5
26 changed files with 60 additions and 61 deletions

View File

@@ -232,7 +232,7 @@ gi_struct_info_find_method (GIStructInfo *info,
* Returns: size of the structure, in bytes
* Since: 2.80
*/
gsize
size_t
gi_struct_info_get_size (GIStructInfo *info)
{
GIRealInfo *rinfo = (GIRealInfo *)info;
@@ -250,7 +250,7 @@ gi_struct_info_get_size (GIStructInfo *info)
* Returns: required alignment, in bytes
* Since: 2.80
*/
gsize
size_t
gi_struct_info_get_alignment (GIStructInfo *info)
{
GIRealInfo *rinfo = (GIRealInfo *)info;