Skip to content

Replace ctypes.data_as call with ctypes.data

Bram Veenboer requested to merge fix-python-interface into master

In some rare cases, calling ctypes.data_as(ctypes.c_void_p) leads to a segmentation fault. Since we don't need reference counting on the pointers (they are only passed through), using ctypes.data instead, suffices.

Merge request reports