]> granicus.if.org Git - graphviz/commit
expose itos buffer size as a constant
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 11 Sep 2021 18:40:05 +0000 (11:40 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 18 Sep 2021 22:14:15 +0000 (15:14 -0700)
commit7bced676bcee4e9f151afb367d3defc869f37192
tree01bda279ada1285f23d8ea74467fee63c9ca9954
parentad7742905f921138c88b9f69824d9ea6847506f4
expose itos buffer size as a constant

Elsewhere in Graphviz we sometimes need to print ints into fixed sized buffers,
but not using itos. So it is useful to have a value for the number of bytes this
requires that is also regularly validated by the Graphviz test suite. That is,
uses of this constant should be robust to future environment/platform changes,
because the itos tests will fail, prompting an update of this constant, that
will then correctly affect all usages of this.
lib/cgraph/itos.h