aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-10-31 21:42:29 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-10-31 21:42:29 +0000
commitd9aaaf2a5309a572d5d2cadc281836f1c27e4e8c (patch)
treebab8968934c0d023be7e61140e41647993420dd3 /lib
parent5127202722b2e9f07b4df9be2dc411baa5545290 (diff)
downloadovm-d9aaaf2a5309a572d5d2cadc281836f1c27e4e8c.tar.gz
ovm-d9aaaf2a5309a572d5d2cadc281836f1c27e4e8c.tar.bz2
ovm-d9aaaf2a5309a572d5d2cadc281836f1c27e4e8c.zip
Use macros to stop duplication of code
I've made a single macro which defines a function through some common metric, removing code duplication. Not particularly readable per se, but using a macro expansion in your IDE allows one to inspect the code.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions