style: ignore style for coroutine macros

This commit is contained in:
Snaipe 2016-09-05 15:12:25 +02:00
parent 033bac0c5e
commit f72ffff3ca
2 changed files with 6 additions and 0 deletions

View file

@ -128,6 +128,8 @@
#include <stdlib.h>
/* *INDENT-OFF* Don't try to format this, seriously */
/*
* `scr' macros for static coroutines.
*/
@ -185,4 +187,6 @@
#define ccrContext void *
#define ccrAbort(ctx) do { free (ctx); ctx = 0; } while (0)
/* *INDENT-ON* */
#endif /* COROUTINE_H */

View file

@ -50,6 +50,7 @@
# define RUNNING_ON_VALGRIND 0
#endif
/* *INDENT-OFF* - This is a structure definition in disguise */
ccrBeginDefineContextType(run_next_context);
struct criterion_suite_set *suite_set;
@ -66,6 +67,7 @@ ccrBeginDefineContextType(run_next_context);
const char *url;
ccrEndDefineContextType;
/* *INDENT-ON* */
CR_API const struct criterion_test *criterion_current_test;
CR_API const struct criterion_suite *criterion_current_suite;