aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/abstractmetalang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/ApiExtractor/abstractmetalang.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/abstractmetalang.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/abstractmetalang.cpp b/sources/shiboken6/ApiExtractor/abstractmetalang.cpp
index d88775356..30f879c5e 100644
--- a/sources/shiboken6/ApiExtractor/abstractmetalang.cpp
+++ b/sources/shiboken6/ApiExtractor/abstractmetalang.cpp
@@ -353,6 +353,11 @@ QString AbstractMetaFunction::signature() const
return m_cachedSignature;
}
+bool AbstractMetaFunction::isUserAdded() const
+{
+ return !m_addedFunction.isNull() && !m_addedFunction->isDeclaration();
+}
+
int AbstractMetaFunction::actualMinimumArgumentCount() const
{
AbstractMetaArgumentList arguments = this->arguments();