[pypy-svn] pypy default: Enfoce annotation of ll_find_char

bivab commits-noreply at bitbucket.org
Fri Jan 21 15:11:33 CET 2011


Author: David Schneider <david.schneider at picle.org>
Branch: 
Changeset: r41134:f1a790e22ff4
Date: 2011-01-21 11:56 +0100
http://bitbucket.org/pypy/pypy/changeset/f1a790e22ff4/

Log:	Enfoce annotation of ll_find_char

diff --git a/pypy/rpython/lltypesystem/rstr.py b/pypy/rpython/lltypesystem/rstr.py
--- a/pypy/rpython/lltypesystem/rstr.py
+++ b/pypy/rpython/lltypesystem/rstr.py
@@ -489,6 +489,7 @@
                 return i
             i += 1
         return -1
+    ll_find_char._annenforceargs_ = [None, None, int, int]
 
     @purefunction
     def ll_rfind_char(s, ch, start, end):


More information about the Pypy-commit mailing list