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 | 98e480e454b9604a714558bdb7d6a355f2eb1f60 (patch) | |
tree | 36bb8b66dd6a2c71613ecfd6102139537ae20db2 /include/dom | |
parent | b5a12096942f13402ddc88629e7dd61e0cfed568 (diff) | |
download | libdom-98e480e454b9604a714558bdb7d6a355f2eb1f60.tar.gz libdom-98e480e454b9604a714558bdb7d6a355f2eb1f60.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')
-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 */ |