mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 10:27:51 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user