Author: Antonio Cuni <[email protected]>
Branch: extradoc
Changeset: r3773:323338533f37
Date: 2011-06-22 18:34 +0200
http://bitbucket.org/pypy/extradoc/changeset/323338533f37/
Log: print the address of the function
diff --git a/talk/ep2011/talk/ctypesbench.py b/talk/ep2011/talk/ctypesbench.py
--- a/talk/ep2011/talk/ctypesbench.py
+++ b/talk/ep2011/talk/ctypesbench.py
@@ -16,6 +16,8 @@
i += 1
end = time.clock()
print 'total:', end-start
+ if hasattr(pow, '_ptr'):
+ print 'address:', pow._ptr.getaddr()
return res
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit