Author: Armin Rigo <ar...@tunes.org> Branch: cffi-1.0 Changeset: r1773:f581837ca590 Date: 2015-04-19 17:16 +0200 http://bitbucket.org/cffi/cffi/changeset/f581837ca590/
Log: fixes diff --git a/new/recompiler.py b/new/recompiler.py --- a/new/recompiler.py +++ b/new/recompiler.py @@ -441,7 +441,7 @@ spaces = " " * len(fldname) if (isinstance(fldtype, model.ArrayType) and fldtype.length is None): - size = '-1' + size = '(size_t)-1' else: size = 'sizeof(((%s)0)->%s)' % (tp.get_c_name('*'), fldname) c_field.append( diff --git a/new/test_verify1.py b/new/test_verify1.py --- a/new/test_verify1.py +++ b/new/test_verify1.py @@ -1,5 +1,5 @@ import sys, math, py -from cffi1 import FFI, VerificationError, model +from cffi1 import FFI, VerificationError, VerificationMissing, model lib_m = ['m'] if sys.platform == 'win32': _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit