~mdw
/
mLib-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extract Subversion ignore data.
[mLib-python]
/
selbuf.pyx
diff --git
a/selbuf.pyx
b/selbuf.pyx
index
b8fae43
..
4a5a288
100644
(file)
--- a/
selbuf.pyx
+++ b/
selbuf.pyx
@@
-95,16
+95,12
@@
cdef class SelLineBuffer:
def eof(me):
return _maybecall(me._eof, ())
def eof(me):
return _maybecall(me._eof, ())
-cdef void _selbfunc
2
(char *s, size_t n, void *arg):
+cdef void _selbfunc(char *s, size_t n, void *arg):
cdef SelLineBuffer sb
sb = <SelLineBuffer>arg
if s is NULL:
sb.eof()
else:
sb.line(PyString_FromStringAndSize(s, n))
cdef SelLineBuffer sb
sb = <SelLineBuffer>arg
if s is NULL:
sb.eof()
else:
sb.line(PyString_FromStringAndSize(s, n))
-cdef void _selbfunc(char *s, size_t n, void *arg):
- PyEval_AcquireLock()
- _selbfunc2(s, n, arg)
- PyEval_ReleaseLock()
#----- That's all, folks ----------------------------------------------------
#----- That's all, folks ----------------------------------------------------