]> granicus.if.org Git - graphviz/commit
gxl2gv: use an enum instead of #defines for attribute type
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 6 Jul 2021 00:28:39 +0000 (17:28 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 11 Jul 2021 23:04:25 +0000 (16:04 -0700)
commit0a5a59b29583c60e1b34bd1db10a48e9e16cce57
tree73ab87b3a0e152248dec8e76248494ee3504c3a2
parentbaa5de424c822e4596b14a2fd3f5dc621c1d6998
gxl2gv: use an enum instead of #defines for attribute type

This introduces some stronger typing and makes it clearer that the attribute
type variables like Current_class can only ever be one of these values. Related
to #517.
cmd/tools/gxl2gv.c