[cffi] add some return types (#9949)

This commit is contained in:
Francesc Elies
2023-03-27 16:15:47 +02:00
committed by GitHub
parent 3ce1d0203d
commit ce5f02fcdc

View File

@@ -59,8 +59,8 @@ class CTypesBackend:
def set_errno(self, value) -> None: ...
def string(self, b, maxlen: int = ...): ...
def buffer(self, bptr, size: int = ...) -> None: ...
def sizeof(self, cdata_or_BType): ...
def alignof(self, BType): ...
def sizeof(self, cdata_or_BType) -> int: ...
def alignof(self, BType) -> int: ...
def newp(self, BType, source): ...
def cast(self, BType, source): ...
def callback(self, BType, source, error, onerror): ...