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:
74509f1
)
fix type of string constant length field in string table to Py_ssize_t (instead of...
author
Stefan Behnel
<stefan_ml@behnel.de>
Fri, 15 Mar 2013 15:00:42 +0000
(16:00 +0100)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Fri, 15 Mar 2013 15:00:42 +0000
(16:00 +0100)
Cython/Utility/ModuleSetupCode.c
patch
|
blob
|
history
diff --git
a/Cython/Utility/ModuleSetupCode.c
b/Cython/Utility/ModuleSetupCode.c
index
6382691
..
58e761f
100644
(file)
--- a/
Cython/Utility/ModuleSetupCode.c
+++ b/
Cython/Utility/ModuleSetupCode.c
@@
-288,7
+288,8
@@
# endif
#endif
-typedef struct {PyObject **p; char *s; const long n; const char* encoding; const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry; /*proto*/
+typedef struct {PyObject **p; char *s; const Py_ssize_t n; const char* encoding;
+ const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry; /*proto*/
/////////////// ForceInitThreads.proto ///////////////