core: make some formatting uncrustify friendly (or ignore)

This commit is contained in:
Kaspar Schleiser
2020-03-30 17:00:32 +02:00
parent 4a31068d15
commit f99bc894de
5 changed files with 20 additions and 5 deletions
+5
View File
@@ -27,6 +27,9 @@
extern "C" {
#endif
/* uncrustify gets mightily confused by these macros... */
/* begin{code-style-ignore} */
/**
* @def container_of(PTR, TYPE, MEMBER)
* @brief Returns the container of a pointer to a member.
@@ -216,6 +219,8 @@
* @endcond
*/
/* end{code-style-ignore} */
#ifdef __cplusplus
}
#endif
+3 -1
View File
@@ -31,7 +31,9 @@ extern "C" {
#endif
/** Static initializer for mbox objects */
#define MBOX_INIT(queue, queue_size) {{0}, {0}, CIB_INIT(queue_size), queue}
#define MBOX_INIT(queue, queue_size) { \
{0}, {0}, CIB_INIT(queue_size), queue \
}
/**
* @brief Mailbox struct definition