mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 04:56:14 +01:00
GDateTime: pack the struct better
Makes a difference in 32bit.
This commit is contained in:
parent
86329ba44f
commit
b0d8498ee3
@ -115,9 +115,6 @@
|
|||||||
|
|
||||||
struct _GDateTime
|
struct _GDateTime
|
||||||
{
|
{
|
||||||
/* 1 is 0001-01-01 in Proleptic Gregorian */
|
|
||||||
gint32 days;
|
|
||||||
|
|
||||||
/* Microsecond timekeeping within Day */
|
/* Microsecond timekeeping within Day */
|
||||||
guint64 usec;
|
guint64 usec;
|
||||||
|
|
||||||
@ -125,6 +122,9 @@ struct _GDateTime
|
|||||||
GTimeZone *tz;
|
GTimeZone *tz;
|
||||||
gint interval;
|
gint interval;
|
||||||
|
|
||||||
|
/* 1 is 0001-01-01 in Proleptic Gregorian */
|
||||||
|
gint32 days;
|
||||||
|
|
||||||
volatile gint ref_count;
|
volatile gint ref_count;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user