]> granicus.if.org Git - graphviz/commit
stop relying on pointers-as-IDs to retrieve strings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 1 Aug 2020 19:05:08 +0000 (12:05 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 8 Aug 2020 01:48:49 +0000 (18:48 -0700)
commit9409324489a69557229d3d6f505857b9af85a913
treebd1912c5b3e512d688ed4b280cfae6a88d0ea6d7
parent85b09cf13179b0e5ab8bddb4857e3d2af0a39a31
stop relying on pointers-as-IDs to retrieve strings

Now that strings are always stored in the internal map, they can be retrieved
from there instead of relying on the assumption that the ID aliases the name of
an entity. Related to #1767.
lib/cgraph/id.c