summaryrefslogtreecommitdiff
path: root/lib/compiler.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2019-01-31 01:09:13 +0100
committerDavid Lamparter <equinox@diac24.net>2019-04-27 18:20:35 +0200
commitabd71baa2e75444248299be81cbebdac1bdd2fc3 (patch)
tree12212515b8c046b0654d85a92808c62c8c8438ce /lib/compiler.h
parent7e3a1ec742fab489eceeb23869063ebdedad12ff (diff)
lib: typesafe lists, skiplist & hash
By the power of the C preprocessor, these macros provide type-safe warppers for simple lists, skiplists and hash tables. Also, by changing the instantiation macro, it is easily possible to switch between algorithms; the code itself does not need to be changed since the API is identical across all algorithms. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/compiler.h')
0 files changed, 0 insertions, 0 deletions