Avoid exceeding 80-column per line

This commit is contained in:
Xavier Del Campo Romero 2020-09-03 15:51:00 +02:00
parent 4c7bfbf87f
commit e0eaf50fdc
1 changed files with 5 additions and 1 deletions

View File

@ -42,7 +42,11 @@
/**
* Convenience macro that calls dynstr_append and returns its error code if failed.
*/
#define dynstr_append_or_ret(...) {const enum dynstr_err err = dynstr_append(__VA_ARGS__); if (err != DYNSTR_OK) return err;}
#define dynstr_append_or_ret(...) \
{ \
const enum dynstr_err err = dynstr_append(__VA_ARGS__); \
if (err != DYNSTR_OK) return err; \
}
/**
* Convenience macro that calls dynstr_append and returns zero if failed.