From 98e480e454b9604a714558bdb7d6a355f2eb1f60 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 1 Apr 2012 09:14:13 +0000 Subject: Force dom_string to have maximal alignment requirements. Make it clear that dom_string_internal extends it svn path=/trunk/libdom/; revision=13785 --- include/dom/core/string.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/dom/core/string.h b/include/dom/core/string.h index 059a21f..b9b41a9 100644 --- a/include/dom/core/string.h +++ b/include/dom/core/string.h @@ -15,10 +15,10 @@ #include #include - -typedef struct dom_string { +typedef struct dom_string dom_string; +struct dom_string { uint32_t refcnt; -} dom_string; +} _ALIGNED; /* Claim a reference on a DOM string */ -- cgit v1.2.3