We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66fc096 commit 16c0d62Copy full SHA for 16c0d62
libs/event/event.h
@@ -35,6 +35,7 @@
35
36
#include <stdbool.h>
37
38
+#include "common/compiler.h"
39
#include "queue/queue.h"
40
41
/** No event ID should have this value. */
@@ -116,6 +117,8 @@ struct am_event {
116
117
unsigned pubsub_time : 1;
118
};
119
120
+AM_ASSERT_STATIC(sizeof(struct am_event) == (2 * sizeof(int)));
121
+
122
/** Event library state configuration. */
123
struct am_event_state_cfg {
124
/** Enter critical section. */
0 commit comments