mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-11 21:41:53 +03:00
Python binding for xmlRegisterInputCallback
It is possible to make xmlIO handle any protocol by means of xmlRegisterInputCallback(). However, that function is currently only available in C API. So, the natural solution seems to be implementing Python bindings for the xmlRegisterInputCallback. * python/generator.py: skip xmlPopInputCallbacks * python/libxml.c python/libxml.py python/libxml_wrap.h: implement the wrappers * python/tests/input_callback.py python/tests/Makefile.am: also add a test case
This commit is contained in:
committed by
Daniel Veillard
parent
e32ceb93f4
commit
48da90bc4a
@ -339,6 +339,8 @@ def skip_function(name):
|
||||
return 1
|
||||
if name == "xmlValidateAttributeDecl":
|
||||
return 1
|
||||
if name == "xmlPopInputCallbacks":
|
||||
return 1
|
||||
|
||||
return 0
|
||||
|
||||
|
Reference in New Issue
Block a user