@@ -28,18 +28,18 @@ ABI Interaction
2828 ctypes
2929------
3030
31- `ctypes <https://docs.python.org/3/library/ctypes.html >`_ is the CPython
32- included library for interfacing with C/C++, and it provides not only full
33- access to the native C interface of most major operating systems (e.g.,
34- kernel32 on Windows, or libc on *nix), but also provides support for loading
31+ `ctypes <https://docs.python.org/3/library/ctypes.html >`_ is the de facto
32+ library for interfacing with C/C++ from CPython , and it provides not only
33+ full access to the native C interface of most major operating systems (e.g.,
34+ kernel32 on Windows, or libc on \ * nix), but also provides support for loading
3535and interfacing with dynamic libraries, such as DLLs or shared objects at
3636runtime. It does bring along with it a whole host of types for interacting
3737with system APIs, and allows you to rather easily define your own complex
3838types, such as structs and unions, and allows you to modify things such as
3939padding and alignment, if needed. It can be a bit crufty to use, but in
4040conjunction with the `struct <https://docs.python.org/3.5/library/struct.html >`_
4141module, you are essentially provided full control over how your data types get
42- translated into something something usable by a C(++).
42+ translated into something something usable by a pure C(++) method .
4343
4444Struct Equivalents
4545~~~~~~~~~~~~~~~~~~
0 commit comments