mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-06-13 19:21:37 +03:00
Added wrapper for the xmlURIPtr type, provided accessors, fixed the
* python/generator.py python/libxml.c python/libxml2-python-api.xml python/libxml2class.txt python/libxml_wrap.h python/types.c: Added wrapper for the xmlURIPtr type, provided accessors, fixed the accessor generator for strings * python/tests/Makefile.am python/tests/tstURI.py: added a specific regression test. Daniel
This commit is contained in:
@ -1422,13 +1422,14 @@ static PyMethodDef libxmlMethods[] = {
|
||||
};
|
||||
|
||||
#ifdef MERGED_MODULES
|
||||
extern void initlibxml2mod(void);
|
||||
extern void initlibxsltmod(void);
|
||||
#endif
|
||||
|
||||
void initlibxml2mod(void) {
|
||||
PyObject *m;
|
||||
m = Py_InitModule("libxml2mod", libxmlMethods);
|
||||
libxml_xmlErrorInitialize();
|
||||
|
||||
#ifdef MERGED_MODULES
|
||||
initlibxsltmod();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user