Author: Alex Gaynor <[email protected]>
Branch: dynamic-specialized-tuple
Changeset: r54702:80f3aa6cedeb
Date: 2012-04-23 20:19 -0400
http://bitbucket.org/pypy/pypy/changeset/80f3aa6cedeb/
Log: working!
diff --git a/pypy/translator/c/node.py b/pypy/translator/c/node.py
--- a/pypy/translator/c/node.py
+++ b/pypy/translator/c/node.py
@@ -642,6 +642,7 @@
for line in lines:
yield "\t" + line
# XXX: write out length of the array.
+ yield '\t%s, ' % len(self.obj.data.items)
arraydef = self.db.gettypedefnode(getattr(T, arrayfld))
for i, obj in ll_enumerate_elements(self.obj):
c_expr = '(void*)' + arraydef.access_expr(
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit