summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2012-04-01 09:14:13 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2012-04-01 09:14:13 +0000
commitcded2d5039a206529db52f6581bbe5fcaee8d739 (patch)
tree36bb8b66dd6a2c71613ecfd6102139537ae20db2 /include
parent6ae3faccf0b499f74c6a3b76e405026ae974748a (diff)
downloadlibdom-cded2d5039a206529db52f6581bbe5fcaee8d739.tar.gz
libdom-cded2d5039a206529db52f6581bbe5fcaee8d739.tar.bz2
Force dom_string to have maximal alignment requirements.
Make it clear that dom_string_internal extends it svn path=/trunk/libdom/; revision=13785
Diffstat (limited to 'include')
-rw-r--r--include/dom/core/string.h6
1 files changed, 3 insertions, 3 deletions
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 <dom/functypes.h>
#include <dom/core/exceptions.h>
-
-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 */