mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Remove allowlist entries for _ctypes on win (#10855)
This commit is contained in:
@@ -44,6 +44,8 @@ if sys.platform == "win32":
|
||||
def FormatError(code: int = ...) -> str: ...
|
||||
def get_last_error() -> int: ...
|
||||
def set_last_error(value: int) -> int: ...
|
||||
def LoadLibrary(__name: str, __load_flags: int = 0) -> int: ...
|
||||
def FreeLibrary(__handle: int) -> None: ...
|
||||
|
||||
class _CDataMeta(type):
|
||||
# By default mypy complains about the following two methods, because strictly speaking cls
|
||||
|
||||
@@ -10,8 +10,6 @@ _winapi.CreateFileMapping
|
||||
_winapi.MapViewOfFile
|
||||
_winapi.OpenFileMapping
|
||||
_winapi.VirtualQuerySize
|
||||
_ctypes.FreeLibrary
|
||||
_ctypes.LoadLibrary
|
||||
|
||||
|
||||
# ==========
|
||||
|
||||
Reference in New Issue
Block a user