static PyObject * python_api_get_current_recipient(PyObject *self, PyObject *args) { allow_python_threads(); char *recipient = api_get_current_recipient(); disable_python_threads(); if (recipient) { return Py_BuildValue("s", recipient); } else { Py_RETURN_NONE; } }
static char * c_api_get_current_recipient(void) { return api_get_current_recipient(); }