예제 #1
0
파일: pyev.c 프로젝트: Spencerx/pyev
static PyObject *
pyev_recommended_backends(PyObject *module)
{
    return PyInt_FromUnsignedLong(ev_recommended_backends());
}
예제 #2
0
파일: pyev.c 프로젝트: Spencerx/pyev
static PyObject *
pyev_embeddable_backends(PyObject *module)
{
    return PyInt_FromUnsignedLong(ev_embeddable_backends());
}
예제 #3
0
파일: pyev.c 프로젝트: Spencerx/pyev
static PyObject *
pyev_supported_backends(PyObject *module)
{
    return PyInt_FromUnsignedLong(ev_supported_backends());
}
예제 #4
0
파일: Loop.c 프로젝트: CZ-NIC/dionaea
static PyObject *
Loop_pending_get(Loop *self, void *closure)
{
    return PyInt_FromUnsignedLong(ev_pending_count(self->loop));
}
예제 #5
0
파일: Loop.c 프로젝트: CZ-NIC/dionaea
static PyObject *
Loop_backend_get(Loop *self, void *closure)
{
    return PyInt_FromUnsignedLong(ev_backend(self->loop));
}
예제 #6
0
파일: Loop.c 프로젝트: CZ-NIC/dionaea
static PyObject *
Loop_depth_get(Loop *self, void *closure)
{
    return PyInt_FromUnsignedLong(ev_depth(self->loop));
}
예제 #7
0
파일: Loop.c 프로젝트: CZ-NIC/dionaea
static PyObject *
Loop_iteration_get(Loop *self, void *closure)
{
    return PyInt_FromUnsignedLong(ev_iteration(self->loop));
}