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:
parent
a1d17fde77
commit
2fe9e524e9
@ -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 */
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user