Author: Armin Rigo <ar...@tunes.org> Branch: cffi-1.0 Changeset: r1925:a3db572c1621 Date: 2015-05-08 08:39 +0200 http://bitbucket.org/cffi/cffi/changeset/a3db572c1621/
Log: Add another future proofing diff --git a/_cffi1/parse_c_type.h b/_cffi1/parse_c_type.h --- a/_cffi1/parse_c_type.h +++ b/_cffi1/parse_c_type.h @@ -131,6 +131,7 @@ int num_typenames; const char *const *includes; int num_types; + int flags; /* future extension */ }; struct _cffi_parse_info_s { diff --git a/_cffi1/recompiler.py b/_cffi1/recompiler.py --- a/_cffi1/recompiler.py +++ b/_cffi1/recompiler.py @@ -223,6 +223,7 @@ else: prnt(' NULL, /* no includes */') prnt(' %d, /* num_types */' % (len(self.cffi_types),)) + prnt(' 0, /* flags */') prnt('};') prnt() # _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit