We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cast
1 parent e108320 commit 07ffb67Copy full SHA for 07ffb67
stubs/cffi/cffi/api.pyi
@@ -43,7 +43,7 @@ class FFI:
43
free: Callable[[CData], Any] | None = None,
44
should_clear_after_alloc: bool = True,
45
) -> _cffi_backend._Allocator: ...
46
- def cast(self, cdecl: str | CType, source: CData | int) -> CData: ...
+ def cast(self, cdecl: str | CType, source: CData | float) -> CData: ...
47
def string(self, cdata: CData, maxlen: int = -1) -> bytes | str: ...
48
def unpack(self, cdata: CData, length: int) -> bytes | str | list[Any]: ...
49
@overload
0 commit comments