]> granicus.if.org Git - graphviz/commit
expr: replace 'exdump' SFIO buffer with an 'agxbuf'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 5 Aug 2022 03:36:32 +0000 (20:36 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 5 Aug 2022 03:36:32 +0000 (20:36 -0700)
commit6c17e78d2a6cac0aabb4356fedc0f8cd989966c0
treecd74cb9a9ebf5f7358b711eccd92c93f29498d15
parent1736b938e947c5165a135c5404af70913ab53d76
expr: replace 'exdump' SFIO buffer with an 'agxbuf'

Unfortunately there is no easy way to stage this. We need to do it all at once,
updating every use of `deparse` and all `exdump`’s internals.

This change improves locality – it is more obvious to both users and the
compiler that the contents of this temporary buffer does not need to be retained
beyond calls to `exerror`. This is a small step towards deprecating SFIO.

Gitlab: #1873
lib/expr/excc.c
lib/expr/expr.h
lib/gvpr/compile.c