summaryrefslogtreecommitdiff
path: root/cffi/_cffi_errors.h
diff options
context:
space:
mode:
authorLucia Li <luciali@google.com>2021-11-08 21:45:14 +0800
committerLucia Li <luciali@google.com>2021-11-09 11:01:46 +0800
commit6aa63b08263172a979012747497f4207cc341bb0 (patch)
tree64f8c90740adbe25c30379d6567fd2acafcbd2dd /cffi/_cffi_errors.h
parent3e013ad5e4325c9a301ddde47e997bfd797167cd (diff)
downloadcffi-6aa63b08263172a979012747497f4207cc341bb0.tar.gz
Upgrade cffi from 1.12.2 to 1.15.0
Source is fetched from https://foss.heptapod.net/pypy/cffi/-/archive/branch/release-1.15/cffi-branch-release-1.15.zip Build cffi manually and update Android.bp Bug: 205265538 Test: None Change-Id: I91a5ed3b96029b3988602aba6a00c0e0748d0600
Diffstat (limited to 'cffi/_cffi_errors.h')
-rw-r--r--cffi/_cffi_errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cffi/_cffi_errors.h b/cffi/_cffi_errors.h
index 83cdad0..158e059 100644
--- a/cffi/_cffi_errors.h
+++ b/cffi/_cffi_errors.h
@@ -54,6 +54,8 @@ static PyObject *_cffi_start_error_capture(void)
" of.write(x)\n"
" except: pass\n"
" self.buf += x\n"
+ " def flush(self):\n"
+ " pass\n"
"fl = FileLike()\n"
"fl.buf = ''\n"
"of = sys.stderr\n"