fpi: Add paddings to the private structs

This commit is contained in:
Marco Trevisan (Treviño)
2019-12-17 20:07:02 +01:00
parent 4e972724a8
commit d078c78171
4 changed files with 17 additions and 0 deletions
+1
View File
@@ -110,6 +110,7 @@ struct fpi_line_asmbl_ctx
unsigned char (*get_pixel)(struct fpi_line_asmbl_ctx *ctx, unsigned char (*get_pixel)(struct fpi_line_asmbl_ctx *ctx,
GSList *line, GSList *line,
unsigned int x); unsigned int x);
gpointer _padding_dummy[32];
}; };
FpImage *fpi_assemble_lines (struct fpi_line_asmbl_ctx *ctx, FpImage *fpi_assemble_lines (struct fpi_line_asmbl_ctx *ctx,
+8
View File
@@ -45,6 +45,10 @@ struct _FpIdEntry
const gchar *virtual_envvar; const gchar *virtual_envvar;
}; };
guint64 driver_data; guint64 driver_data;
/*< private >*/
/* padding for future expansion */
gpointer _padding_dummy[16];
}; };
/** /**
@@ -129,6 +133,10 @@ struct _FpDeviceClass
void (*delete) (FpDevice * device); void (*delete) (FpDevice * device);
void (*cancel) (FpDevice *device); void (*cancel) (FpDevice *device);
/*< private >*/
/* padding for future expansion */
gpointer _padding_dummy[32];
}; };
/** /**
+4
View File
@@ -93,6 +93,10 @@ struct _FpImageDeviceClass
void (*change_state) (FpImageDevice *dev, void (*change_state) (FpImageDevice *dev,
FpiImageDeviceState state); FpiImageDeviceState state);
void (*deactivate) (FpImageDevice *dev); void (*deactivate) (FpImageDevice *dev);
/*< private >*/
/* padding for future expansion */
gpointer _padding_dummy[32];
}; };
void fpi_image_device_set_bz3_threshold (FpImageDevice *self, void fpi_image_device_set_bz3_threshold (FpImageDevice *self,
+4
View File
@@ -101,6 +101,10 @@ struct _FpiUsbTransfer
/* Data free function */ /* Data free function */
GDestroyNotify free_buffer; GDestroyNotify free_buffer;
/*< private >*/
/* padding for future expansion */
gpointer _padding_dummy[32];
}; };
GType fpi_usb_transfer_get_type (void) G_GNUC_CONST; GType fpi_usb_transfer_get_type (void) G_GNUC_CONST;