Avoid C macro hacks
calls heavily uses macro [hacks] to reduce the amount of code. Eg.: https://source.puri.sm/Librem5/calls/-/blob/master/src/util.h
Though this reduces the amount of code written, it results in hard to read the code (code is more often read than written) as it's hard to navigate through code (I use GNU Global in Emacs), and I have to fallback to using grep
.
It would be nice if calls used less macro hacks.