diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2007-03-08 17:15:35 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2007-03-13 05:14:19 -0400 |
commit | bc8987068d1849cf7c16c38132fcc3c8d3b4e12e (patch) | |
tree | 24d7f5a9f512c264f2242a67cc106f2e01b64b5d /src/cairo-private.h | |
parent | 74e6a24e98baf70284b65d5f4ed41bdf7449d72d (diff) | |
download | cairo-bc8987068d1849cf7c16c38132fcc3c8d3b4e12e.tar.gz |
[cairo_t] Make path an array of size one
This is more natural since cr->path can be used as if it was a pointer.
This means, for example, if we move on to making it a pointer, most of
the code using it does not need any change. So we get some level of
encapsulation of implementation details, if you prefer the terminology :).
Diffstat (limited to 'src/cairo-private.h')
-rw-r--r-- | src/cairo-private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-private.h b/src/cairo-private.h index ccae0a410..c3be6e9aa 100644 --- a/src/cairo-private.h +++ b/src/cairo-private.h @@ -48,7 +48,7 @@ struct _cairo { cairo_gstate_t *gstate; - cairo_path_fixed_t path; + cairo_path_fixed_t path[1]; }; #endif /* CAIRO_PRIVATE_H */ |