aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/otherbinding/global.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-10-14 10:41:33 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-10-15 16:23:31 +0200
commit31e1ec9b5d40e1431dbf0c756b166422c702cad6 (patch)
treea09ab3eefb7a40cb5fa5c22c75ebb0ad270441af /sources/shiboken2/tests/otherbinding/global.h
parent5b29846a91564aef34edb618a7a014df7de96f3a (diff)
Enable typesystem typedefs across modules
Adding a specialization of template type ValueWithUnit from libsample to libother would fail since the SBK index array of libsample would be used with the index from libother for it. Build up the inheritance for typesystem typedefs early on and add a lookup which matches the template specializations found during traversing functions to the type def and the class that is generated for it so that it can be used. As a side effect, special case entries for template specializations can be deleted from the signature mappings since they change to the class name and thus are normal types. Task-number: PYSIDE-1202 Change-Id: I5cc9650f70e9dc975171c80919685ebf5e752749 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken2/tests/otherbinding/global.h')
-rw-r--r--sources/shiboken2/tests/otherbinding/global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken2/tests/otherbinding/global.h b/sources/shiboken2/tests/otherbinding/global.h
index 763566ae0..702fb9287 100644
--- a/sources/shiboken2/tests/otherbinding/global.h
+++ b/sources/shiboken2/tests/otherbinding/global.h
@@ -32,5 +32,5 @@
#include "otherderived.h"
#include "otherobjecttype.h"
#include "othermultiplederived.h"
+#include "othertypesystypedef.h"
#include "smartptrtester.h"
-