diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-10-29 14:28:08 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-10-30 13:04:26 +0000 |
commit | 40483a4249306b62029987d03e7de57d456954b2 (patch) | |
tree | 6f1dd5fd7e0f39c9b8f472ef96b151a5490b4f20 /sources/shiboken6/ApiExtractor/abstractmetalang.h | |
parent | 021f8974a1784b37baaec4cfd1285dc44dfdab83 (diff) |
shiboken6: Add element <declare-function>
Make it possible to simply declare functions that the code
parser cannot see.
Task-number: PYSIDE-904
Task-number: PYSIDE-1339
Change-Id: If50bc0f1fc77a63e753b6fa440e6f08dd312ce4c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/abstractmetalang.h')
-rw-r--r-- | sources/shiboken6/ApiExtractor/abstractmetalang.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/abstractmetalang.h b/sources/shiboken6/ApiExtractor/abstractmetalang.h index 9c52182ef..1fd2eb3ff 100644 --- a/sources/shiboken6/ApiExtractor/abstractmetalang.h +++ b/sources/shiboken6/ApiExtractor/abstractmetalang.h @@ -599,7 +599,7 @@ public: } /// Returns true if the AbstractMetaFunction was added by the user via the type system description. - bool isUserAdded() const { return !m_addedFunction.isNull(); } + bool isUserAdded() const; QString toString() const { |