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:
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user