Open skamensky opened 4 years ago
https://github.com/changyuheng/winwifi.py/blob/708029c86505e063f7812ac51439d517e2085a96/src/winwifi/main.py#L54
I'm not sure why this mistake didn't break anything, but the ctype function generator sets a restypes attribute instead of what it should be:restype (singular, without an s at the end).
restypes
restype
s
Sources:
The documentation A Stackoverflow answer correcting the same mistake.
https://github.com/changyuheng/winwifi.py/blob/708029c86505e063f7812ac51439d517e2085a96/src/winwifi/main.py#L54
I'm not sure why this mistake didn't break anything, but the ctype function generator sets a
restypes
attribute instead of what it should be:restype
(singular, without ans
at the end).Sources:
The documentation A Stackoverflow answer correcting the same mistake.