I think you want ctypes.c_void_p
. On Windows, c_long
is only 32bits which is where the truncation comes from. That said, I don’t know that this is a supported way to do such things. @dgobbi?
I think you want ctypes.c_void_p
. On Windows, c_long
is only 32bits which is where the truncation comes from. That said, I don’t know that this is a supported way to do such things. @dgobbi?