diff --git a/include/typings/c.pyi b/include/typings/c.pyi index ffe0c631..ba30e9ea 100644 --- a/include/typings/c.pyi +++ b/include/typings/c.pyi @@ -137,7 +137,7 @@ class _StructLike(Generic[T]): @classmethod def from_struct(cls, s: struct) -> T: ... - def addr(self) -> void_p: ... + def addr(self) -> '_Pointer[T]': ... def sizeof(self) -> int: ... def copy(self) -> T: ... def __eq__(self, other: T) -> bool: ...