Collapse three-line argument checks into a macro call
Collapse three-line argument checks into a macro call: a task in vim-headless-mastery: vim (Harbor dataset). handlers.c is full of hand-written argument checks. We now have a macro for the common case: CHECK ARG(x); returns -EINVAL from the enclosing function when x is NULL .
The task
`handlers.c` is full of hand-written argument checks. We now have a macro for the common case: `CHECK_ARG(x);` returns `-EINVAL` from the enclosing function when `x` is `NULL`.
Part of swedishembedded/vim-headless-mastery.