Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
PyPy
cffi
Commits
1ff67de0da1e
Commit
7ff1960f
authored
Jul 09, 2015
by
Armin Rigo
Browse files
Doc fixes
parent
1223303164c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
doc/source/cdef.rst
View file @
1ff67de0
...
...
@@ -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`: over
flo
w.html#abi-versus-api
.. _`ABI versus API`: over
vie
w.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
...
...
doc/source/using.rst
View file @
1ff67de0
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment