mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-02 20:42:30 +03:00
parser: Stop using ctxt->linenumbers
I think this was used to avoid setting the `line` member before it was added (20+ years ago).
This commit is contained in:
@ -92,7 +92,7 @@ functions = {
|
||||
'xmlParserSetLineNumbers': (
|
||||
'Switch on the generation of line number for elements nodes.',
|
||||
['void', None, None],
|
||||
[['ctxt', 'xmlParserCtxt *', 'the parser context'], ['linenumbers', 'int', '1 to save line numbers']],
|
||||
[['ctxt', 'xmlParserCtxt *', 'the parser context'], ['linenumbers', 'int', 'unused']],
|
||||
'python_accessor', None),
|
||||
'xmlDebugMemory': (
|
||||
'Switch on the generation of line number for elements nodes. Also returns the number of bytes allocated and not freed by libxml2 since memory debugging was switched on.',
|
||||
|
Reference in New Issue
Block a user