Skip to content

Commit

Permalink
Try loading libdelaunator.dll with winmode=0
Browse files Browse the repository at this point in the history
  • Loading branch information
plimkilde committed Mar 25, 2024
1 parent 7b709ad commit bdb661a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qc/thatsDEM/triangle.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
delaunator_lib_name = os.path.join(LIBDIR, DELAUNATOR_LIBNAME)
# Load library directly via ctypes. Could also have used the numpy interface.
lib = ctypes.cdll.LoadLibrary(lib_name)
delaunator_lib = ctypes.cdll.LoadLibrary(delaunator_lib_name)
delaunator_lib = ctypes.CDLL(delaunator_lib_name, winmode=0)
# Args and return types of c functions. Corresponds to a header file.
lib.free_index.restype = None
lib.free_index.argtypes = [ctypes.c_void_p]
Expand Down

0 comments on commit bdb661a

Please sign in to comment.