mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 20:18:32 +00:00
func_attr.h: FUNC_ATTR_PRINTF
This commit is contained in:

committed by
Justin M. Keyes

parent
2b06c32a23
commit
197d907e09
@@ -1157,7 +1157,7 @@ static void set_option_value_err(char *key,
|
||||
}
|
||||
|
||||
void api_set_error(Error *err, ErrorType errType, const char *format, ...)
|
||||
FUNC_ATTR_NONNULL_ALL
|
||||
FUNC_ATTR_NONNULL_ALL FUNC_ATTR_PRINTF(3, 4)
|
||||
{
|
||||
assert(kErrorTypeNone != errType);
|
||||
va_list args1;
|
||||
|
Reference in New Issue
Block a user