From 36a9cd48344c8cfb776dea78c60e7d6760711197 Mon Sep 17 00:00:00 2001 From: Cristian Maureira-Fredes Date: Thu, 29 Nov 2018 09:29:48 +0100 Subject: Move add-conversion and native-to-target code Now we are able to include snippets for the previously mentioned typesystem's tags, so this patch removes the current C/C++ code from the typesystems. Task-number: PYSIDE-834 Change-Id: I2929020fa1dc0859db780dffb12fa292627697b0 Reviewed-by: Friedemann Kleint Reviewed-by: Qt CI Bot --- sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'sources/pyside2/PySide2/QtGui') diff --git a/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml b/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml index 090b7a4ec..f417b8e74 100644 --- a/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml +++ b/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml @@ -203,13 +203,9 @@ - - return PyLong_FromVoidPtr(reinterpret_cast<void *>(%in)); - + - - %out = reinterpret_cast<%OUTTYPE>(PyLong_AsVoidPtr(%in)); - + -- cgit v1.2.3