diff options
author | Armin Rigo <arigo@tunes.org> | 2020-01-10 10:25:23 +0100 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2020-01-10 10:25:23 +0100 |
commit | 6a8316270cdf03b29dfd859899511ebd6618168b (patch) | |
tree | a19e46bb49a859091c565cc75059a03d082e5162 /lib_pypy/cffi | |
parent | remove debug info (diff) | |
download | pypy-6a8316270cdf03b29dfd859899511ebd6618168b.tar.gz pypy-6a8316270cdf03b29dfd859899511ebd6618168b.tar.bz2 pypy-6a8316270cdf03b29dfd859899511ebd6618168b.zip |
update to cffi/d6ad2ea5a57e
Diffstat (limited to 'lib_pypy/cffi')
-rw-r--r-- | lib_pypy/cffi/recompiler.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib_pypy/cffi/recompiler.py b/lib_pypy/cffi/recompiler.py index d6530e50fa..c3a3845013 100644 --- a/lib_pypy/cffi/recompiler.py +++ b/lib_pypy/cffi/recompiler.py @@ -1216,7 +1216,8 @@ class Recompiler: size_of_result = '(int)sizeof(%s)' % ( tp.result.get_c_name('', context),) prnt('static struct _cffi_externpy_s _cffi_externpy__%s =' % name) - prnt(' { "%s.%s", %s };' % (self.module_name, name, size_of_result)) + prnt(' { "%s.%s", %s, 0, 0 };' % ( + self.module_name, name, size_of_result)) prnt() # arguments = [] |