[grilo] core: Added padding for public structures in grl-plugin-registry
- From: Iago Toral Quiroga <itoral src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] core: Added padding for public structures in grl-plugin-registry
- Date: Mon, 17 Jan 2011 09:07:33 +0000 (UTC)
commit d7aa9bcd21a85021793788d882005890bfbf5266
Author: Iago Toral Quiroga <itoral igalia com>
Date: Thu Jan 13 18:22:58 2011 +0100
core: Added padding for public structures in grl-plugin-registry
src/grl-plugin-registry.h | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/src/grl-plugin-registry.h b/src/grl-plugin-registry.h
index d7b0618..98786dd 100644
--- a/src/grl-plugin-registry.h
+++ b/src/grl-plugin-registry.h
@@ -34,6 +34,7 @@
#include <grl-media-source.h>
#include <grl-metadata-key.h>
#include <grl-config.h>
+#include <grl-definitions.h>
#define GRL_PLUGIN_PATH_VAR "GRL_PLUGIN_PATH"
#define GRL_PLUGIN_RANKS_VAR "GRL_PLUGIN_RANKS"
@@ -109,6 +110,9 @@ struct _GrlPluginInfo {
gchar *filename;
GHashTable *optional_info;
gint rank;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING];
};
typedef struct _GrlPluginDescriptor GrlPluginDescriptor;
@@ -129,6 +133,9 @@ struct _GrlPluginDescriptor {
gboolean (*plugin_init) (GrlPluginRegistry *, const GrlPluginInfo *, GList *);
void (*plugin_deinit) (void);
GModule *module;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING];
};
/* Plugin ranks */
@@ -167,6 +174,8 @@ struct _GrlPluginRegistry {
/*< private >*/
GrlPluginRegistryPrivate *priv;
+
+ gpointer _grl_reserved[GRL_PADDING];
};
/* GrlPluginRegistry class */
@@ -182,6 +191,9 @@ typedef struct _GrlPluginRegistryClass GrlPluginRegistryClass;
struct _GrlPluginRegistryClass {
GObjectClass parent_class;
+
+ /*< private >*/
+ gpointer _grl_reserved[GRL_PADDING];
};
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]