PyDocs

Nav

Generic Operating System Services

_Pointer

ctypes

class
Private, abstract base class for pointers.

Concrete pointer types are created by calling POINTER() with the type that will be pointed to; this is done automatically by pointer().

If a pointer points to an array, its elements can be read and written using standard subscript and slice accesses. Pointer objects have no size, so len() will raise TypeError. Negative subscripts will read from the memory before the pointer (as in C), and out-of-range subscripts will probably crash with an access violation (if you’re lucky).
Members of _Pointer

_

_type_
Specifies the type pointed to.

c

contents
the object this pointer points to (read-write)
0 Examples
No examples for ctypes/_Pointer.
See Also
No see-alsos for ctypes/_Pointer
0 Notes
No notes for _Pointer