Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pygeodiff/geodifflib.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def _register_functions(self):

self._V_get_int = self.lib.GEODIFF_V_getInt
self._V_get_int.argtypes = [ctypes.c_void_p, ctypes.c_void_p]
self._V_get_int.restype = ctypes.c_int
self._V_get_int.restype = ctypes.c_int64

self._V_get_double = self.lib.GEODIFF_V_getDouble
self._V_get_double.argtypes = [ctypes.c_void_p, ctypes.c_void_p]
Expand Down Expand Up @@ -366,7 +366,7 @@ def apply_changeset(self, base, changeset):

def list_changes(self, changeset, result):
func = self.lib.GEODIFF_listChanges
func.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
func.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_char_p]
func.restype = ctypes.c_int

# create byte objects from the strings
Expand All @@ -377,7 +377,7 @@ def list_changes(self, changeset, result):

def list_changes_summary(self, changeset, result):
func = self.lib.GEODIFF_listChangesSummary
func.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
func.argtypes = [ctypes.c_void_p, ctypes.c_char_p, ctypes.c_char_p]
func.restype = ctypes.c_int

# create byte objects from the strings
Expand Down
Loading