]> granicus.if.org Git - graphviz/commit
lib/sparse: add guards, making headers safe to include from C++
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 25 Dec 2021 19:09:15 +0000 (11:09 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 4 Jan 2022 15:56:35 +0000 (07:56 -0800)
commit8b8049807fd3b206a174f8a0bf8eb5cfcef44180
treeeb14ce346ec1c592207a413600356b39b9e72844
parentdfc024587428a03225a604db34f9e2ff8077d66a
lib/sparse: add guards, making headers safe to include from C++

An upcoming change will convert cmd/mingle/minglemain.c to C++, which
transitively includes some of these headers.

Related to #2154.
12 files changed:
lib/sparse/BinaryHeap.h
lib/sparse/DotIO.h
lib/sparse/IntStack.h
lib/sparse/LinkedList.h
lib/sparse/QuadTree.h
lib/sparse/SparseMatrix.h
lib/sparse/clustering.h
lib/sparse/color_palette.h
lib/sparse/colorutil.h
lib/sparse/general.h
lib/sparse/mq.h
lib/sparse/vector.h