mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 10:27:51 +02:00
GDBus: update padding
Add lots of padding for public class structures. Notably, we seemed to lack any padding whatsoever in the GDBusMessageClass struct (spotted by Dan Winship). Also switch to using gpointer padding[N]; instead of void (*_g_reserved1) (void); ... void (*_g_reservedN) (void); Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
@@ -70,14 +70,7 @@ struct _GDBusMethodInvocationClass
|
||||
|
||||
/*< private >*/
|
||||
/* Padding for future expansion */
|
||||
void (*_g_reserved1) (void);
|
||||
void (*_g_reserved2) (void);
|
||||
void (*_g_reserved3) (void);
|
||||
void (*_g_reserved4) (void);
|
||||
void (*_g_reserved5) (void);
|
||||
void (*_g_reserved6) (void);
|
||||
void (*_g_reserved7) (void);
|
||||
void (*_g_reserved8) (void);
|
||||
gpointer padding[32];
|
||||
};
|
||||
|
||||
GType g_dbus_method_invocation_get_type (void) G_GNUC_CONST;
|
||||
|
Reference in New Issue
Block a user