Author: Armin Rigo <[email protected]>
Branch:
Changeset: r69933:6c99fe082851
Date: 2014-03-13 16:47 +0100
http://bitbucket.org/pypy/pypy/changeset/6c99fe082851/
Log: Add a @signature to this function too
diff --git a/rpython/rtyper/lltypesystem/rstr.py
b/rpython/rtyper/lltypesystem/rstr.py
--- a/rpython/rtyper/lltypesystem/rstr.py
+++ b/rpython/rtyper/lltypesystem/rstr.py
@@ -108,6 +108,8 @@
copy_string_to_raw = func_with_new_name(copy_string_to_raw,
'copy_%s_to_raw' % name)
@jit.dont_look_inside
+ @signature(types.any(), types.any(), types.int(), types.int(),
+ returns=types.none())
def copy_raw_to_string(ptrsrc, dst, dststart, length):
# xxx Warning: same note as above apply: don't do this at home
assert length >= 0
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit