Merge branch 'wip/smcv/sizet-is-still-not-intptrt' into 'main'

girparser: Don't assume sizeof(size_t) == sizeof(void *)

See merge request GNOME/glib!3966
This commit is contained in:
Emmanuele Bassi 2024-03-17 14:17:53 +00:00
commit 308b06d352

View File

@ -459,8 +459,8 @@ static IntegerAliasInfo integer_aliases[] = {
{ "gulong", SIZEOF_LONG, 0 },
{ "gssize", GLIB_SIZEOF_SIZE_T, 1 },
{ "gsize", GLIB_SIZEOF_SIZE_T, 0 },
{ "gintptr", GLIB_SIZEOF_SIZE_T, 1 },
{ "guintptr", GLIB_SIZEOF_SIZE_T, 0 },
{ "gintptr", sizeof (gintptr), 1 },
{ "guintptr", sizeof (guintptr), 0 },
};
typedef struct {