Skip to content

Commit

Permalink
buffer: add padding to GeglSampler for future ABI proofing
Browse files Browse the repository at this point in the history
  • Loading branch information
hodefoting committed Apr 2, 2012
1 parent 3fc013c commit fc0cfd4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gegl/buffer/gegl-sampler.h
Expand Up @@ -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
Expand All @@ -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;
Expand Down

0 comments on commit fc0cfd4

Please sign in to comment.