projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86329ba
)
GDateTime: pack the struct better
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 17 Aug 2012 04:27:10 +0000
(
00:27
-0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 17 Aug 2012 04:27:10 +0000
(
00:27
-0400)
Makes a difference in 32bit.
glib/gdatetime.c
patch
|
blob
|
history
diff --git
a/glib/gdatetime.c
b/glib/gdatetime.c
index
4bd0e79
..
d09fa08
100644
(file)
--- a/
glib/gdatetime.c
+++ b/
glib/gdatetime.c
@@
-115,9
+115,6
@@
struct _GDateTime
{
- /* 1 is 0001-01-01 in Proleptic Gregorian */
- gint32 days;
-
/* Microsecond timekeeping within Day */
guint64 usec;
@@
-125,6
+122,9
@@
struct _GDateTime
GTimeZone *tz;
gint interval;
+ /* 1 is 0001-01-01 in Proleptic Gregorian */
+ gint32 days;
+
volatile gint ref_count;
};