Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r55094:7e4a5a9c477c
Date: 2012-05-15 11:06 +0200
http://bitbucket.org/pypy/pypy/changeset/7e4a5a9c477c/
Log: Backed out changeset 063cfdcec5f0
diff --git a/pypy/rpython/lltypesystem/rffi.py
b/pypy/rpython/lltypesystem/rffi.py
--- a/pypy/rpython/lltypesystem/rffi.py
+++ b/pypy/rpython/lltypesystem/rffi.py
@@ -810,14 +810,13 @@
b.append(cp[i])
i += 1
return assert_str0(b.build())
- charp2strn._annenforceargs_ = [None, annmodel.SomeInteger(nonneg=True)]
# char* and size -> str (which can contain null bytes)
def charpsize2str(cp, size):
b = builder_class(size)
b.append_charpsize(cp, size)
return b.build()
- charpsize2str._annenforceargs_ = [None, annmodel.SomeInteger(nonneg=True)]
+ charpsize2str._annenforceargs_ = [None, int]
return (str2charp, free_charp, charp2str,
get_nonmovingbuffer, free_nonmovingbuffer,
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit