static CHANNEL_SEND_HEAD(impl_channel_send) { STACKLESS_GETARG(); PyThreadState *ts = PyThreadState_GET(); if(ts->st.main == NULL) return PyChannel_Send_M(self, arg); return generic_channel_action(self, arg, 1, stackless); }
static PyObject * impl_channel_send(PyChannelObject *self, PyObject *arg) { STACKLESS_GETARG(); PyThreadState *ts = PyThreadState_GET(); if(ts->st.main == NULL) return PyChannel_Send_M(self, arg); return generic_channel_action(self, arg, 1, stackless); }