projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91d8543
)
add fdopen declaration to stdio.pxd
author
Dmytro
<belevtsoff@gmail.com>
Tue, 12 Mar 2013 20:54:53 +0000
(21:54 +0100)
committer
Dmytro
<belevtsoff@gmail.com>
Tue, 12 Mar 2013 20:54:53 +0000
(21:54 +0100)
Cython/Includes/libc/stdio.pxd
patch
|
blob
|
history
diff --git
a/Cython/Includes/libc/stdio.pxd
b/Cython/Includes/libc/stdio.pxd
index
d640c0b
..
93bab2f
100644
(file)
--- a/
Cython/Includes/libc/stdio.pxd
+++ b/
Cython/Includes/libc/stdio.pxd
@@
-16,6
+16,7
@@
cdef extern from "stdio.h" nogil:
enum: FILENAME_MAX
FILE *fopen (const char *filename, const char *opentype)
FILE *freopen (const char *filename, const char *opentype, FILE *stream)
+ FILE *fdopen (int fdescriptor, const char *opentype)
int fclose (FILE *stream)
int remove (const char *filename)
int rename (const char *oldname, const char *newname)