aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken/basewrapper.h
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2009-11-09 12:32:53 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2009-11-09 12:32:53 -0300
commita2722b07a3ff4cd2b4974118c937b57fde045902 (patch)
tree69ca229fd2586030d4727207f79e4ef6ecd58f7d /libshiboken/basewrapper.h
parenteb88812ff2a7fa6470758b544d577550b2c2d165 (diff)
added a Python wrapper deallocator for classes with private destructor
Diffstat (limited to 'libshiboken/basewrapper.h')
-rw-r--r--libshiboken/basewrapper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libshiboken/basewrapper.h b/libshiboken/basewrapper.h
index 053465da6..c59d3653b 100644
--- a/libshiboken/basewrapper.h
+++ b/libshiboken/basewrapper.h
@@ -137,6 +137,8 @@ PyBaseWrapper_Dealloc(PyObject* self)
Py_TYPE(((PyBaseWrapper*)self))->tp_free((PyObject*)self);
}
+PyAPI_FUNC(void) PyBaseWrapper_Dealloc_PrivateDtor(PyObject* self);
+
} // namespace Shiboken
#endif // BASEWRAPPER_H