summaryrefslogtreecommitdiff
path: root/lib/zephyr_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zephyr_tests.py')
-rwxr-xr-xlib/zephyr_tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/zephyr_tests.py b/lib/zephyr_tests.py
index bfd2901..043ed2b 100755
--- a/lib/zephyr_tests.py
+++ b/lib/zephyr_tests.py
@@ -339,6 +339,7 @@ class libZephyr(object):
"ZClosePort",
"ZMakeAscii",
"ZMakeZcode",
+ "ZGetDestAddr",
]
def __init__(self, library_path=None):
"""connect to the library and build the wrappers"""
@@ -480,6 +481,8 @@ class libZephyr(object):
c_int, # num
]
+ # struct sockaddr_in ZGetDestAddr (void) {
+ self.ZGetDestAddr.restype = sockaddr_in
# library-specific setup...
self.ZInitialize()