diff options
author | Andrea Canciani <ranma42@gmail.com> | 2010-11-24 11:16:56 +0100 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2010-11-24 14:45:07 +0100 |
commit | ae6a0de23b11e1cf34a2751fd6d4339b20340e67 (patch) | |
tree | fb84f22c4bffb4afc387ab43e40afa17b9634d7f /src/cairo-types-private.h | |
parent | 520206e99122f8b5c0440640afc1b35e14030a80 (diff) | |
download | cairo-ae6a0de23b11e1cf34a2751fd6d4339b20340e67.tar.gz |
array: Remove snapshot support
Array snapshots are not used anymore and just bloat the implementation
of cairo_array_t.
In particular, double indirection was needed to implement array
snapshots, as explained in c78685399307431903613733ddc936a104376943.
Diffstat (limited to 'src/cairo-types-private.h')
-rw-r--r-- | src/cairo-types-private.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cairo-types-private.h b/src/cairo-types-private.h index 93b035d7c..b5e76c7d7 100644 --- a/src/cairo-types-private.h +++ b/src/cairo-types-private.h @@ -132,9 +132,7 @@ struct _cairo_array { unsigned int size; unsigned int num_elements; unsigned int element_size; - char **elements; - - cairo_bool_t is_snapshot; + char *elements; }; /** |