libprimis icon indicating copy to clipboard operation
libprimis copied to clipboard

`GETMATIDXVAR` macro hides function names

Open no-lex opened this issue 3 years ago • 0 comments

It sounds hard to believe, but using macros to construct function names makes them hard to find. Indeed, since GETMATIDXVAR creates a function name by concatenating arguments, it is impossible to Ctrl-F for a function and find where it is defined. To resolve this, GETMATIDXVAR should be hurled directly into the sun, and replaced with literally anything else.

no-lex avatar Apr 18 '21 06:04 no-lex