chiark
/
gitweb
/
~mdw
/
mLib-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mapping: Make the iterators conform to the proper interface.
[mLib-python]
/
sel-file.pyx
diff --git
a/sel-file.pyx
b/sel-file.pyx
index aba288f4633be1f4f189ce42ba0bca1493079c2e..72ff16629114fd93c900a38365ffcf9d4addaac7 100644
(file)
--- a/
sel-file.pyx
+++ b/
sel-file.pyx
@@
-88,13
+88,9
@@
cdef class SelFile:
def ready(me):
return _maybecall(me._ready, ())
def ready(me):
return _maybecall(me._ready, ())
-cdef void _filefunc
2(
void *arg):
+cdef void _filefunc
(int fd, unsigned mode,
void *arg):
cdef SelFile sf
sf = <SelFile>arg
sf.ready()
cdef SelFile sf
sf = <SelFile>arg
sf.ready()
-cdef void _filefunc(int fd, unsigned mode, void *arg):
- PyEval_AcquireLock()
- _filefunc2(arg)
- PyEval_ReleaseLock()
#----- That's all, folks ----------------------------------------------------
#----- That's all, folks ----------------------------------------------------