Updated Python stubs

This commit is contained in:
Matthias Koefferlein 2023-09-12 07:46:38 +02:00
parent 911ece890f
commit 8212b7cefd
2 changed files with 468 additions and 86 deletions

File diff suppressed because it is too large Load Diff

View File

@ -7204,12 +7204,12 @@ class Macro:
@overload
def __eq__(self, other: object) -> bool:
r"""
@brief Compares two enums
@brief Compares an enum with an integer value
"""
@overload
def __eq__(self, other: object) -> bool:
r"""
@brief Compares an enum with an integer value
@brief Compares two enums
"""
@overload
def __init__(self, i: int) -> None:
@ -8099,6 +8099,13 @@ class MacroInterpreter:
r"""
@brief Creates a copy of self
"""
def include_expansion(self, macro: Macro) -> List[str]:
r"""
@brief Provides include expansion as defined by the interpreter
The return value will be a two-element array with the encoded file path and the include-expanded text.
This method has been introduced in version 0.28.12.
"""
def is_const_object(self) -> bool:
r"""
@brief Returns a value indicating whether the reference is a const reference