ctypes.addressof()

ctypes.addressof(C instance) → integer

Return the address of the C instance internal buffer