add wrapper class for auto Py_INCREF/Py_DECREF ... i.e. usable for STL containers
[vuplus_dvbapp] / tools.py
1
2 def CONNECT(slot, fnc):
3         slot.get().append(fnc)
4
5 def DISCONNECT(slot, fnc):
6         slot.get().remove(fnc)
7