no need to define skin in skin_default.xml and .py files
[enigma2.git] / lib / python / python.h
index 76f6aa88b03ee9df28ffaba1e0451004729ff2f5..9edc50ada9dec481dd22967db3d501b2f5c0e400 100644 (file)
@@ -314,10 +314,16 @@ inline ePyObject Impl_PyTuple_GET_ITEM(ePyObject list, unsigned int pos)
 }
 #endif
 
+inline void Impl_INCREF(PyObject *ob)
+{
+       Py_INCREF(ob);
+}
+
 inline void Impl_DECREF(PyObject *ob)
 {
        Py_DECREF(ob);
 }
+#define Org_Py_INCREF(obj) Impl_INCREF(obj)
 #define Org_Py_DECREF(obj) Impl_DECREF(obj)
 #undef Py_DECREF
 #undef Py_XDECREF