mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-18 03:51:24 +08:00
cffi: run stubtest on Windows (#9178)
This commit is contained in:
1 parent
f033e61ae2
commit
7fc9b8e2c8
6 files changed
+10
-5
No files matched your search
@@ -72,6 +72,7 @@ class FFI:
|
||||
@overload
|
||||
def gc(self, cdata: CData, destructor: None, size: int = ...) -> None: ...
|
||||
def verify(self, source: str = ..., tmpdir: str | None = ..., **kwargs: Any) -> _cffi_backend.Lib: ...
|
||||
# Technically exists on all OSs, but crashes on all but Windows. So we hide it in stubs
|
||||
if sys.platform == "win32":
|
||||
def getwinerror(self, code: int = ...) -> tuple[int, str] | None: ...
|
||||
|
||||
|
||||
Reference in new issue
Block a user