Skip to content

Commit

Permalink
Attempt to fix issue causing application not to start
Browse files Browse the repository at this point in the history
  • Loading branch information
vigoux committed Jul 16, 2018
1 parent dbc844f commit cf70fb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions avaspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def AVS_GetList(listsize, requiredsize, IDlist):
prototype = ctypes.WINFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.POINTER(ctypes.c_int), ctypes.POINTER(AvsIdentityType))
paramflags = (1, "listsize",), (2, "requiredsize",), (2, "IDlist",),
AVS_GetList = prototype(("AVS_GetList", lib), paramflags)
print(listsize)
ret = AVS_GetList(listsize)
# looks like you only pass the '1' parameters here
# the '2' parameters are returned in 'ret' !!!
Expand Down

0 comments on commit cf70fb0

Please sign in to comment.