Author: Antonio Cuni <[email protected]>
Branch: ffistruct
Changeset: r49033:9c29ae18d46b
Date: 2011-11-09 17:43 +0100
http://bitbucket.org/pypy/pypy/changeset/9c29ae18d46b/

Log:    these two functions are not_rpython

diff --git a/pypy/rlib/rarithmetic.py b/pypy/rlib/rarithmetic.py
--- a/pypy/rlib/rarithmetic.py
+++ b/pypy/rlib/rarithmetic.py
@@ -56,6 +56,9 @@
     assert LONG_BIT_SHIFT < 99, "LONG_BIT_SHIFT value not found?"
 
 def intmask(n):
+    """
+    NOT_RPYTHON
+    """
     if isinstance(n, int):
         return int(n)   # possibly bool->int
     if isinstance(n, objectmodel.Symbolic):
@@ -68,6 +71,9 @@
     return int(n)
 
 def longlongmask(n):
+    """
+    NOT_RPYTHON
+    """
     assert isinstance(n, (int, long))
     n = long(n)
     n &= LONGLONG_MASK
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to