diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-11-03 19:12:10 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-11-03 19:12:10 +0000 |
commit | 2d7ea5dac53b007be9ff4238b67cd0ed4d2bea20 (patch) | |
tree | 43327263ed97ffd148c8cb74c13ef661102ad877 /src/core/document.h | |
parent | 6c16027b237e515ad451dc8a99b9ef6f54324135 (diff) | |
download | libdom-2d7ea5dac53b007be9ff4238b67cd0ed4d2bea20.tar.gz libdom-2d7ea5dac53b007be9ff4238b67cd0ed4d2bea20.tar.bz2 |
Ensure we memoise all the strings used in the core event dispatch
Diffstat (limited to 'src/core/document.h')
-rw-r--r-- | src/core/document.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/document.h b/src/core/document.h index 6cf1f91..89635ff 100644 --- a/src/core/document.h +++ b/src/core/document.h @@ -59,6 +59,15 @@ struct dom_document { dom_document_quirks_mode quirks; /**< Document is in quirks mode */ dom_string *_memo_empty; /**< The string ''. */ + + /* Memoised event strings */ + dom_string *_memo_domnodeinserted; /**< DOMNodeInserted */ + dom_string *_memo_domnoderemoved; /**< DOMNodeRemoved */ + dom_string *_memo_domnodeinsertedintodocument; /**< DOMNodeInsertedIntoDocument */ + dom_string *_memo_domnoderemovedfromdocument; /**< DOMNodeRemovedFromDocument */ + dom_string *_memo_domattrmodified; /**< DOMAttrModified */ + dom_string *_memo_domcharacterdatamodified; /**< DOMCharacterDataModified */ + dom_string *_memo_domsubtreemodified; /**< DOMSubtreeModified */ }; /* Create a DOM document */ |