summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/c4groupentrycore.c4
-rw-r--r--src/c4groupheader.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/src/c4groupentrycore.c b/src/c4groupentrycore.c
index 8b483cc..d178653 100644
--- a/src/c4groupentrycore.c
+++ b/src/c4groupentrycore.c
@@ -1,6 +1,10 @@
#include "c4groupentrycore.h"
#include <string.h>
#include <time.h>
+#include <assert.h>
+
+static_assert(sizeof(C4GroupEntryCore) == 316, "The size of the C4GroupEntryCore struct must be 316");
+
void C4GroupEntryCore_init(C4GroupEntryCore* const this)
{
diff --git a/src/c4groupheader.c b/src/c4groupheader.c
index e06155c..12d454e 100644
--- a/src/c4groupheader.c
+++ b/src/c4groupheader.c
@@ -1,6 +1,9 @@
#include "c4groupheader.h"
#include <string.h>
#include <time.h>
+#include <assert.h>
+
+static_assert(sizeof(C4GroupHeader) == 204, "The size of the C4GroupHeader struct must be 204");
void C4GroupHeader_init(C4GroupHeader* const this)
{