summaryrefslogtreecommitdiff
path: root/wrappers/python/eduvpn_common/loader.py
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-03-23 12:35:46 +0100
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2023-09-25 09:43:37 +0200
commit32e734b4f53595bc0d4fdea4206e852d0848c399 (patch)
treee63a123a0b005535735586da4578d77324e17cf4 /wrappers/python/eduvpn_common/loader.py
parent498b747669e97e8af414a369433c04371396f08c (diff)
Wrappers Python: Separate BoolError data type to get rid of decode_func
Diffstat (limited to 'wrappers/python/eduvpn_common/loader.py')
-rw-r--r--wrappers/python/eduvpn_common/loader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wrappers/python/eduvpn_common/loader.py b/wrappers/python/eduvpn_common/loader.py
index 1cf7ab5..36381b4 100644
--- a/wrappers/python/eduvpn_common/loader.py
+++ b/wrappers/python/eduvpn_common/loader.py
@@ -4,7 +4,7 @@ from collections import defaultdict
from ctypes import CDLL, c_char_p, c_int, c_void_p, cdll
from eduvpn_common import __version__
-from eduvpn_common.types import DataError, ReadRxBytes, VPNStateChange
+from eduvpn_common.types import BoolError, DataError, ReadRxBytes, VPNStateChange
def load_lib() -> CDLL:
@@ -102,5 +102,5 @@ def initialize_functions(lib: CDLL) -> None:
c_char_p,
c_int,
ReadRxBytes,
- ], DataError
+ ], BoolError
lib.CancelFailover.argtypes, lib.CancelFailover.restype = [], c_void_p