projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c885288
)
signedness fix for unicode-for-loop iteration
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 18 Apr 2010 21:21:10 +0000
(23:21 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 18 Apr 2010 21:21:10 +0000
(23:21 +0200)
Cython/Compiler/Optimize.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Optimize.py
b/Cython/Compiler/Optimize.py
index 72f5f701cceab7736bf89a115e496bcdbc23694c..e68f7bfc0f65a84a3cf311a4fc8348ea3d1859d4 100644
(file)
--- a/
Cython/Compiler/Optimize.py
+++ b/
Cython/Compiler/Optimize.py
@@
-137,7
+137,7
@@
class IterationTransform(Visitor.VisitorTransform):
return node
PyUnicode_AS_UNICODE_func_type = PyrexTypes.CFuncType(
- PyrexTypes.
c_int_ptr_type
, [ # FIXME: return type is actually Py_UNICODE*
+ PyrexTypes.
CPtrType(PyrexTypes.c_uint_type)
, [ # FIXME: return type is actually Py_UNICODE*
PyrexTypes.CFuncTypeArg("s", Builtin.unicode_type, None)
])