diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2012-04-01 09:14:13 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2012-04-01 09:14:13 +0000 |
commit | cded2d5039a206529db52f6581bbe5fcaee8d739 (patch) | |
tree | 36bb8b66dd6a2c71613ecfd6102139537ae20db2 /include/dom/core/string.h | |
parent | 6ae3faccf0b499f74c6a3b76e405026ae974748a (diff) | |
download | libdom-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/dom/core/string.h')
-rw-r--r-- | include/dom/core/string.h | 6 |
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 */ |