mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-06-13 19:21:37 +03:00
Justin Fletcher found some parts of the code needing cleanup Fixed the
* parserInternals.c valid.c: Justin Fletcher found some parts of the code needing cleanup * libxml.spec.in python/Makefile.am python/generator.py python/libxml.c python/libxml.py: Fixed the python Makefiles corrected a bug showing up on ia64, changed the name of the python internal module too Daniel
This commit is contained in:
@ -1351,20 +1351,21 @@ libxml_xmlNodeGetNs(PyObject *self, PyObject *args) {
|
||||
************************************************************************/
|
||||
static PyMethodDef libxmlMethods[] = {
|
||||
#include "libxml2-export.c"
|
||||
{ "name", libxml_name, METH_VARARGS },
|
||||
{ "children", libxml_children, METH_VARARGS },
|
||||
{ "properties", libxml_properties, METH_VARARGS },
|
||||
{ "last", libxml_last, METH_VARARGS },
|
||||
{ "prev", libxml_prev, METH_VARARGS },
|
||||
{ "next", libxml_next, METH_VARARGS },
|
||||
{ "parent", libxml_parent, METH_VARARGS },
|
||||
{ "type", libxml_type, METH_VARARGS },
|
||||
{ "doc", libxml_doc, METH_VARARGS },
|
||||
{ "name", libxml_name, METH_VARARGS, NULL },
|
||||
{ "children", libxml_children, METH_VARARGS, NULL },
|
||||
{ "properties", libxml_properties, METH_VARARGS, NULL },
|
||||
{ "last", libxml_last, METH_VARARGS, NULL },
|
||||
{ "prev", libxml_prev, METH_VARARGS, NULL },
|
||||
{ "next", libxml_next, METH_VARARGS, NULL },
|
||||
{ "parent", libxml_parent, METH_VARARGS, NULL },
|
||||
{ "type", libxml_type, METH_VARARGS, NULL },
|
||||
{ "doc", libxml_doc, METH_VARARGS, NULL },
|
||||
{ NULL, NULL, NULL, NULL}
|
||||
};
|
||||
|
||||
void init_libxml(void) {
|
||||
void initlibxml2mod(void) {
|
||||
PyObject *m;
|
||||
m = Py_InitModule("_libxml", libxmlMethods);
|
||||
m = Py_InitModule("libxml2mod", libxmlMethods);
|
||||
libxml_xmlErrorInitialize();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user