[pypy-commit] cffi cffi-1.0: Add another future proofing
arigo
noreply at buildbot.pypy.org
Fri May 8 10:24:39 CEST 2015
Author: Armin Rigo <arigo at 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()
#
More information about the pypy-commit
mailing list