summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2013-03-11 15:57:55 +0800
committerDaniel Veillard <veillard@redhat.com>2013-03-11 15:59:22 +0800
commitcff2546f13503ac028e4c1f63c7b6d85f2f2d777 (patch)
tree0d7f1f6ddd654f18a6959f1b4732cf591c71bf7d /include
parenta3f1e3e5712257fd279917a9158278534e8f4b72 (diff)
downloadlibxml2-cff2546f13503ac028e4c1f63c7b6d85f2f2d777.tar.gz
Cache presence of '<' in entities content
slightly modify how ent->checked is used, and use the lowest bit to keep the information
Diffstat (limited to 'include')
-rw-r--r--include/libxml/entities.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libxml/entities.h b/include/libxml/entities.h
index cefb97f7..1e911897 100644
--- a/include/libxml/entities.h
+++ b/include/libxml/entities.h
@@ -58,7 +58,8 @@ struct _xmlEntity {
int owner; /* does the entity own the childrens */
int checked; /* was the entity content checked */
/* this is also used to count entites
- * references done from that entity */
+ * references done from that entity
+ * and if it contains '<' */
};
/*