PyDocs

Nav

Generic Operating System Services

c_int

ctypes

class (source)
Represents the C signed int datatype. The constructor accepts an optional integer initializer; no overflow checking is done. On platforms where sizeof(int) == sizeof(long) it is an alias to c_long.
1 Example
>>> i = c_int(42)
>>> print(i)
c_long(42)
>>> print(i.value)
42
>>> i.value = -99
>>> print(i.value)
-99
>>>
from the Python docs
See Also
No see-alsos for ctypes/c_int
0 Notes
No notes for c_int