Added some padding members to both GsweMoment and GsweTimestamp

I'd like to keep the ABI as stable as possible. With all the possible
additions in my mind, it is still possible I won't be able to keep it,
even with this much reserved slots.
This commit is contained in:
Gergely Polonkai 2013-09-11 00:20:54 +02:00
parent a1d17fde77
commit 2fe9e524e9
2 changed files with 44 additions and 0 deletions

View File

@ -143,6 +143,28 @@ struct _GsweMomentClass {
/*< private >*/
void (*changed)(GsweMoment *moment);
/* Padding for future expansion */
void (*_swe_glib_reserved1)(void);
void (*_swe_glib_reserved2)(void);
void (*_swe_glib_reserved3)(void);
void (*_swe_glib_reserved4)(void);
void (*_swe_glib_reserved5)(void);
void (*_swe_glib_reserved6)(void);
void (*_swe_glib_reserved7)(void);
void (*_swe_glib_reserved8)(void);
void (*_swe_glib_reserved9)(void);
void (*_swe_glib_reserved10)(void);
void (*_swe_glib_reserved11)(void);
void (*_swe_glib_reserved12)(void);
void (*_swe_glib_reserved13)(void);
void (*_swe_glib_reserved14)(void);
void (*_swe_glib_reserved15)(void);
void (*_swe_glib_reserved16)(void);
void (*_swe_glib_reserved17)(void);
void (*_swe_glib_reserved18)(void);
void (*_swe_glib_reserved19)(void);
void (*_swe_glib_reserved20)(void);
};
/* used by GSWE_TYPE_MOMENT */

View File

@ -50,6 +50,28 @@ struct _GsweTimestampClass {
/* Class members */
/*< private >*/
void (*changed)(GsweTimestamp *self);
/* Padding for future expansion */
void (*_swe_glib_reserved1)(void);
void (*_swe_glib_reserved2)(void);
void (*_swe_glib_reserved3)(void);
void (*_swe_glib_reserved4)(void);
void (*_swe_glib_reserved5)(void);
void (*_swe_glib_reserved6)(void);
void (*_swe_glib_reserved7)(void);
void (*_swe_glib_reserved8)(void);
void (*_swe_glib_reserved9)(void);
void (*_swe_glib_reserved10)(void);
void (*_swe_glib_reserved11)(void);
void (*_swe_glib_reserved12)(void);
void (*_swe_glib_reserved13)(void);
void (*_swe_glib_reserved14)(void);
void (*_swe_glib_reserved15)(void);
void (*_swe_glib_reserved16)(void);
void (*_swe_glib_reserved17)(void);
void (*_swe_glib_reserved18)(void);
void (*_swe_glib_reserved19)(void);
void (*_swe_glib_reserved20)(void);
};
GType gswe_timestamp_get_type(void);