ctypes character pointers with same byte string points same location
ctypes character pointers with same byte string points same location Question: I am creating two ctypes character pointers with same byte string via: import ctypes as ct var1 = ct.c_char_p(b’.’*80) var2 = ct.c_char_p(b’.’*80) # how I check the values: api = ct.CDLL(‘api.dll’) api.function1(var1, var2) # values of the vars are changed after running the above …