X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2Fconnections.h;h=b4cd1c7996452d09cdd3700861ce1458130a2129;hp=8ff3a620e30cff1e48f72d45676d26caf29936a4;hb=ba5fcab217438b995c1f903e0294b71d1411668b;hpb=26ff43bdf1eb6fe4da12db2c61a63c0dcd9612c8 diff --git a/lib/python/connections.h b/lib/python/connections.h index 8ff3a62..b4cd1c7 100644 --- a/lib/python/connections.h +++ b/lib/python/connections.h @@ -3,11 +3,6 @@ #include - /* avoid warnigs :) */ -#include -#undef _POSIX_C_SOURCE -#define _POSIX_C_SOURCE 200112L - #include class PSignal @@ -18,6 +13,9 @@ public: PSignal(); ~PSignal(); void callPython(SWIG_PYOBJECT(ePyObject) tuple); +#ifndef SWIG + PyObject *getSteal(bool clear=false); +#endif PyObject *get(); };