Add some padding to the class.
[platform/upstream/glib.git] / gobject / gtypemodule.h
index 4871f81..11aed5d 100644 (file)
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
-
-#ifndef __G_TYPE_MODULE_H__
-#define __G_TYPE_MODULE_H__
-
 #if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
 #error "Only <glib-object.h> can be included directly."
 #endif
 
+#ifndef __G_TYPE_MODULE_H__
+#define __G_TYPE_MODULE_H__
+
 #include <gobject/gobject.h>
 
 G_BEGIN_DECLS
@@ -54,6 +53,12 @@ struct _GTypeModuleClass
 
   gboolean (* load)   (GTypeModule *module);
   void     (* unload) (GTypeModule *module);
+
+  /* Padding for future expansion */
+  void (*reserved1) (void);
+  void (*reserved2) (void);
+  void (*reserved3) (void);
+  void (*reserved4) (void);
 };
 
 GType    g_type_module_get_type      (void);