1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

Cleanups, 1 bug fix:

- HTMLparser.c: fixed htmlStartCloseIndexinitialized init
- entities.h: exported xmlInitializePredefinedEntities
- parser.[ch] : added xmlInitParser()
- parserInternals.h : had to export htmlInitAutoClose()
Daniel
This commit is contained in:
Daniel Veillard
2000-10-01 18:23:35 +00:00
parent f09e7e35de
commit bc765307ff
9 changed files with 56 additions and 4 deletions

View File

@ -579,7 +579,8 @@ static int htmlStartCloseIndexinitialized = 0;
* htmlInitAutoClose:
*
* Initialize the htmlStartCloseIndex for fast lookup of closing tags names.
*
* This is not reentrant. Call xmlInitParser() once before processing in
* case of use in multithreaded programs.
*/
void
htmlInitAutoClose(void) {
@ -594,6 +595,7 @@ htmlInitAutoClose(void) {
while (htmlStartClose[i] != NULL) i++;
i++;
}
htmlStartCloseIndexinitialized = 1;
}
/**