mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-20 03:52:25 +03:00
some updates with memory debugging facilities while messing with libxslt
* xmlmemory.c python/libxml.c python/libxml2-python-api.xml: some updates with memory debugging facilities while messing with libxslt python bindings Daniel
This commit is contained in:
@@ -78,6 +78,18 @@ static xmlStrdupFunc strdupFunc = NULL;
|
||||
static void
|
||||
libxml_xmlErrorInitialize(void); /* forward declare */
|
||||
|
||||
PyObject *
|
||||
libxml_xmlMemoryUsed(ATTRIBUTE_UNUSED PyObject * self, PyObject * args)
|
||||
{
|
||||
long ret;
|
||||
PyObject *py_retval;
|
||||
|
||||
ret = xmlMemUsed();
|
||||
|
||||
py_retval = libxml_longWrap(ret);
|
||||
return (py_retval);
|
||||
}
|
||||
|
||||
PyObject *
|
||||
libxml_xmlDebugMemory(ATTRIBUTE_UNUSED PyObject * self, PyObject * args)
|
||||
{
|
||||
|
Reference in New Issue
Block a user