]> granicus.if.org Git - graphviz/commit
use a bitfield instead of shifting and masking for reference count in refstr.c
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 29 Mar 2021 02:51:51 +0000 (19:51 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 4 Apr 2021 05:03:04 +0000 (22:03 -0700)
commitc8692b7483e92dc20352367f8ac236d3f2912a43
treeeb7cd13a5aead3128a17ca38ed2382486f45a717
parent67e4c9521428cad5bcc4f01933ba4b40fd604a07
use a bitfield instead of shifting and masking for reference count in refstr.c

This performs the same operations, but asks the compiler to generate the
required shifts and masks instead of relying on the error prone process of doing
them manually.
lib/cgraph/refstr.c