add a dummy class to debug python refcounting (add entrys of TestObj to your tuple...
[vuplus_dvbapp] / lib / python / python.cpp
index 642d70b..f467bc8 100644 (file)
@@ -4,6 +4,18 @@
 
 extern "C" void init_enigma();
 
+DEFINE_REF(TestObj);
+
+TestObj::TestObj()
+{
+       eDebug("create %p", this);
+}
+
+TestObj::~TestObj()
+{
+       eDebug("destroy %p", this);
+}
+
 #if 0
 ePyObject::ePyObject(void *ptr): m_object(ptr)
 {