Commit 7ff1960f authored by Armin Rigo's avatar Armin Rigo
Browse files

Doc fixes

parent 1223303164c1
......@@ -239,7 +239,7 @@ returns a module-like library object. Use this when you are fine with
the limitations of ABI-level access to the system. In case of doubt, read
again `ABI versus API`_ in the overview.
.. _`ABI versus API`: overflow.html#abi-versus-api
.. _`ABI versus API`: overview.html#abi-versus-api
You can use the library object to call the functions previously
declared by ``ffi.cdef()``, to read constants, and to read or write
......
......@@ -574,7 +574,8 @@ value is casted between integers or pointers of any type.
confuse it with ``ffi.errno``.)
**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 property.)
in this thread, and passed to the following C call. (This is a read-write
property.)
**ffi.getwinerror(code=-1)**: on Windows, in addition to ``errno`` we
also save and restore the ``GetLastError()`` value across function
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment