File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -216,6 +216,8 @@ Fundamental data types
216216+----------------------+------------------------------------------+----------------------------+
217217| ctypes type | C type | Python type |
218218+======================+==========================================+============================+
219+ | :class: `c_bool ` | :c:type: `_Bool ` | bool (1) |
220+ +----------------------+------------------------------------------+----------------------------+
219221| :class: `c_char ` | :c:type: `char ` | 1-character bytes object |
220222+----------------------+------------------------------------------+----------------------------+
221223| :class: `c_wchar ` | :c:type: `wchar_t ` | 1-character string |
@@ -254,6 +256,9 @@ Fundamental data types
254256| :class: `c_void_p ` | :c:type: `void * ` | int or ``None `` |
255257+----------------------+------------------------------------------+----------------------------+
256258
259+ (1)
260+ The constructor accepts any object with a truth value.
261+
257262All these types can be created by calling them with an optional initializer of
258263the correct type and value::
259264
You can’t perform that action at this time.
0 commit comments