a = ctypes.cast('foo', ctypes.POINTER(ctypes.c_char))
aPtr = ctypes.cast(ctypes.pointer(a), ctypes.POINTER(c_void_p))
aPtr.contents.value += ctypes.sizeof(a._type_)
print(a.contents)
Python: как увеличить экземпляр ctypes POINTER