]> granicus.if.org Git - graphviz/commit
netogen: [nfc] rewrite 'push' and 'pop' macros as functions
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 6 Feb 2022 06:51:16 +0000 (17:51 +1100)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 7 Feb 2022 07:51:14 +0000 (18:51 +1100)
commitcd989d3f4f7e3f0c5425071c5116024fc2c0e7a0
treef21cf0ec49ed12ea4c65e310e681384c9b969d1b
parentd122eea6d7f4343b487e45ff8e8e00decc35d358
netogen: [nfc] rewrite 'push' and 'pop' macros as functions

There is no need for these to be macros. Modern compilers will easily inline
these helpers. Making them functions provides additional type safety.
lib/neatogen/closest.c