diff options
author | Carl Worth <cworth@cworth.org> | 2006-09-07 17:36:36 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-09-07 17:36:36 -0700 |
commit | f6bd76a4b26848fb5cc8e40e65f4393d3bd684ae (patch) | |
tree | de7a82b5272787ea2131c74679dab772c420263c /boilerplate | |
parent | 942cd2e026431bd5ae347c264fb3a0469eb53cf4 (diff) | |
download | cairo-f6bd76a4b26848fb5cc8e40e65f4393d3bd684ae.tar.gz |
type1: Enforce pre-allocation usage and fail-proof behavior of charstring_encode functions
These functions were previously returning a status value that
was almost never being checked. Instead we now make these
functions void and enforce a usage pattern that the destination
array must be pre-grown to accomodate the results. This is
verified with a couple of assert statements.
The pre-allocation was already happening with all but one call.
That call is now also fixed up.
Diffstat (limited to 'boilerplate')
0 files changed, 0 insertions, 0 deletions