fix type of string constant length field in string table to Py_ssize_t (instead of...
authorStefan Behnel <stefan_ml@behnel.de>
Fri, 15 Mar 2013 15:00:42 +0000 (16:00 +0100)
committerStefan Behnel <stefan_ml@behnel.de>
Fri, 15 Mar 2013 15:00:42 +0000 (16:00 +0100)
Cython/Utility/ModuleSetupCode.c

index 6382691..58e761f 100644 (file)
 # 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 ///////////////