[gegl] buffer: add padding to GeglSampler for future ABI proofing



commit fc0cfd45551e8a1237118f9757ffbae360896818
Author: Ãyvind KolÃs <pippin gimp org>
Date:   Mon Apr 2 15:48:38 2012 +0100

    buffer: add padding to GeglSampler for future ABI proofing

 gegl/buffer/gegl-sampler.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler.h b/gegl/buffer/gegl-sampler.h
index 167837c..3cd8bab 100644
--- a/gegl/buffer/gegl-sampler.h
+++ b/gegl/buffer/gegl-sampler.h
@@ -59,6 +59,7 @@ struct _GeglSampler
   gdouble        x; /* mirrors the currently requested */
   gdouble        y; /* coordinates in the instance     */
 
+  gpointer       padding[8]; /* eat from the padding if adding to the struct */
 };
 
 struct _GeglSamplerClass
@@ -73,6 +74,8 @@ struct _GeglSamplerClass
                       void        *output);
  void  (*set_buffer) (GeglSampler  *self,
                       GeglBuffer   *buffer);
+
+ gpointer       padding[8]; /* eat from the padding if adding to the struct */
 };
 
 GType gegl_sampler_get_type    (void) G_GNUC_CONST;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]