gh-60580: Fix a wrong type of ctypes.wintypes.BYTE (#97579)

Created from a patch file attached to an issue, by Anatoly Techtonik.
This commit is contained in:
Oleg Iarygin
2023-01-26 18:16:27 +04:00
committed by GitHub
parent f2ac9510a5
commit 409f5337a3
3 changed files with 23 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
# The most useful windows datatypes
import ctypes
BYTE = ctypes.c_byte
BYTE = ctypes.c_ubyte
WORD = ctypes.c_ushort
DWORD = ctypes.c_ulong