3 ms·
They're mostly used to avoid the overhead of a function call. The inline keyword is a recent addition. I saw some examples in the klib code where macros are u
by rrmm 14y ago
They're mostly used to avoid the overhead of a function call. The inline keyword is a recent addition.
I saw some examples in the klib code where macros are used to generate boilerplate code, generating functions.