PyDocs

Nav

Generic Operating System Services

POINTER

ctypes

function (source)
  • POINTER(type, /)
Create and return a new ctypes pointer type.

Pointer types are cached and reused internally,
so calling this function repeatedly is cheap.

The official docs include a CPython implementation detail for this entry.

1 Example
>>> libc.time.argtypes = (POINTER(c_time_t),)
from the Python docs
See Also
No see-alsos for ctypes/POINTER
0 Notes
No notes for POINTER