Trailing options of CFUNCTYPE / WINFUNCTYPE, as Python's
use_errno / use_last_error: a call swaps errno / GetLastError()
with the thread's ctypes-private copies (get_errno,
get_last_error) around the C function; a callback made from the
prototype swaps them around the JavaScript function.
Trailing options of CFUNCTYPE / WINFUNCTYPE, as Python's
use_errno/use_last_error: a call swapserrno/GetLastError()with the thread's ctypes-private copies (get_errno, get_last_error) around the C function; a callback made from the prototype swaps them around the JavaScript function.