1 #include <lib/python/connections.h>
12 void PSignal::callPython(ePyObject tuple)
14 int size = PyList_Size(m_list);
16 for (i=0; i<size; ++i)
18 ePyObject b = PyList_GET_ITEM(m_list, i);
19 ePython::call(b, tuple);
23 PyObject *PSignal::get()
26 m_list = PyList_New(0);
31 PyObject *PSignal::getSteal(bool clear)
35 ePyObject ret = m_list;
36 m_list = (PyObject*)0;