exported-object: reorder fields in NMExportedObjectPrivate struct
For now, this doesn't change the overall size of the struct. But with the next commits this ordering allows tighter packing.
This commit is contained in:
@@ -39,16 +39,17 @@ G_DEFINE_ABSTRACT_TYPE_WITH_CODE (NMExportedObject, nm_exported_object, G_TYPE_D
|
|||||||
)
|
)
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
GSList *interfaces;
|
|
||||||
|
|
||||||
NMBusManager *bus_mgr;
|
NMBusManager *bus_mgr;
|
||||||
char *path;
|
char *path;
|
||||||
|
|
||||||
GHashTable *pending_notifies;
|
GHashTable *pending_notifies;
|
||||||
|
|
||||||
|
GSList *interfaces;
|
||||||
|
|
||||||
guint notify_idle_id;
|
guint notify_idle_id;
|
||||||
|
|
||||||
#ifdef _ASSERT_NO_EARLY_EXPORT
|
#ifdef _ASSERT_NO_EARLY_EXPORT
|
||||||
gboolean _constructed;
|
bool _constructed:1;
|
||||||
#endif
|
#endif
|
||||||
} NMExportedObjectPrivate;
|
} NMExportedObjectPrivate;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user