summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2017-05-29 18:04:19 +0200
committerArmin Rigo <arigo@tunes.org>2017-05-29 18:04:19 +0200
commit82bcebf7517faa692a9953413f7982aaef0a4ba1 (patch)
tree478fbc4cba7de695c57431cceec7d6ce3e6d23dc
parent594c8e7358b9e025a459dc2d9618e01fea448593 (diff)
downloadcffi-82bcebf7517faa692a9953413f7982aaef0a4ba1.tar.gz
tweaks
-rw-r--r--demo/xclient_build.py2
-rw-r--r--doc/source/ref.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/demo/xclient_build.py b/demo/xclient_build.py
index 943763f..d6ce9da 100644
--- a/demo/xclient_build.py
+++ b/demo/xclient_build.py
@@ -22,4 +22,4 @@ ffi.set_source('_xclient_cffi', """
""", libraries=['X11'])
if __name__ == '__main__':
- ffi.compile()
+ ffi.compile(verbose=True)
diff --git a/doc/source/ref.rst b/doc/source/ref.rst
index faeafeb..0c2be94 100644
--- a/doc/source/ref.rst
+++ b/doc/source/ref.rst
@@ -73,8 +73,8 @@ ffi.errno, ffi.getwinerror()
++++++++++++++++++++++++++++
**ffi.errno**: the value of ``errno`` received from the most recent C call
-in this thread, and passed to the following C call. (This is a read-write
-property.)
+in this thread, and passed to the following C call. (This is a thread-local
+read-write property.)
**ffi.getwinerror(code=-1)**: on Windows, in addition to ``errno`` we
also save and restore the ``GetLastError()`` value across function