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:
add8091
)
make fpos_t an opaque type
author
Lars Buitinck
<L.J.Buitinck@uva.nl>
Fri, 23 Aug 2013 15:29:55 +0000
(17:29 +0200)
committer
Lars Buitinck
<L.J.Buitinck@uva.nl>
Fri, 23 Aug 2013 15:29:55 +0000
(17:29 +0200)
According to the C11 standard, ยง7.21.1, fpos_t
is a complete object type other than an array type
but there's no guarantee that its an integer type.
Cython/Includes/libc/stdio.pxd
patch
|
blob
|
history
diff --git
a/Cython/Includes/libc/stdio.pxd
b/Cython/Includes/libc/stdio.pxd
index
c89b21c
..
b7d9d53
100644
(file)
--- a/
Cython/Includes/libc/stdio.pxd
+++ b/
Cython/Includes/libc/stdio.pxd
@@
-48,7
+48,7
@@
cdef extern from "stdio.h" nogil:
void rewind (FILE *stream)
long int ftell (FILE *stream)
- ctypedef
long long in
t fpos_t
+ ctypedef
struc
t fpos_t
ctypedef const fpos_t const_fpos_t "const fpos_t"
int fgetpos (FILE *stream, fpos_t *position)
int fsetpos (FILE *stream, const fpos_t *position)