summaryrefslogtreecommitdiffstats
path: root/src/common/tree.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-01-12common/tree: Convert defines over to templatesLioncash1-530/+629
Reworks the tree header to operate off of templates as opposed to a series of defines. This allows all tree facilities to obey namespacing rules, and also allows this code to be used within modules once compiler support is in place. This also gets rid to use a macro to define functions and structs for necessary data types. With templates, these will be generated when they're actually used, eliminating the need for the separate declaration.
2021-01-12common/tree: Remove unused splay tree definesLioncash1-249/+2
Makes for less code to take care of.
2021-01-11common: Introduce useful tree structures.bunnei1-0/+822