[grilo] core: Added padding for public structures in grl-data
- From: Iago Toral Quiroga <itoral src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] core: Added padding for public structures in grl-data
- Date: Mon, 17 Jan 2011 09:07:48 +0000 (UTC)
commit 812a234b220de411fd5e8cc4b6983e32e1eff97a
Author: Iago Toral Quiroga <itoral igalia com>
Date: Fri Jan 14 10:33:36 2011 +0100
core: Added padding for public structures in grl-data
src/data/grl-data.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/data/grl-data.h b/src/data/grl-data.h
index 8042634..a1207b0 100644
--- a/src/data/grl-data.h
+++ b/src/data/grl-data.h
@@ -31,6 +31,7 @@
#include <glib-object.h>
#include <grl-metadata-key.h>
+#include <grl-definitions.h>
G_BEGIN_DECLS
@@ -73,6 +74,9 @@ typedef struct _GrlDataClass GrlDataClass;
struct _GrlDataClass
{
GObjectClass parent_class;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING];
};
struct _GrlData
@@ -81,6 +85,8 @@ struct _GrlData
/*< private >*/
GrlDataPrivate *priv;
+
+ gpointer _grl_reserved[GRL_PADDING_SMALL];
};
GType grl_data_get_type (void) G_GNUC_CONST;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]