Shiboken.pyi 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # Copyright (C) 2022 The Qt Company Ltd.
  2. # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
  3. from __future__ import annotations
  4. """
  5. This file contains the exact signatures for all functions in module
  6. Shiboken, except for defaults which are replaced by "...".
  7. """
  8. # Module `Shiboken`
  9. from shiboken6 import Shiboken
  10. class Object:
  11. def __init__(self) -> None: ...
  12. class VoidPtr:
  13. def __init__(self, value: int) -> None: ...
  14. def _unpickle_enum(arg__1: object, arg__2: object) -> object: ...
  15. def createdByPython(arg__1: Shiboken.Object) -> bool: ...
  16. def delete(arg__1: Shiboken.Object) -> None: ...
  17. def dump(arg__1: object) -> str: ...
  18. def getAllValidWrappers() -> list[Shiboken.Object]: ...
  19. def getCppPointer(arg__1: Shiboken.Object) -> tuple[int, ...]: ...
  20. def invalidate(arg__1: Shiboken.Object) -> None: ...
  21. def isValid(arg__1: object) -> bool: ...
  22. def ownedByPython(arg__1: Shiboken.Object) -> bool: ...
  23. def wrapInstance(arg__1: int, arg__2: type) -> Shiboken.Object: ...
  24. # eof