Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 25, 2021
1 parent 4d4e7c9 commit a7fd8e0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions python/analysis/analysis.sip.in
Expand Up @@ -3,6 +3,11 @@

${DEFAULTDOCSTRINGSIGNATURE}

%ModuleHeaderCode
// Needed because sip uses deprecated throw(...) annotations to raise the correct Python exception
#define throw(...)
%End

%Import QtCore/QtCoremod.sip
%Import QtGui/QtGuimod.sip
%Import QtXml/QtXmlmod.sip
Expand Down
5 changes: 0 additions & 5 deletions python/core/conversions.sip
Expand Up @@ -22,11 +22,6 @@ which are not wrapped by PyQt:
- NULL QVariant which is missing in PyQt5 with sip.enableautoconversion
*/

%ModuleHeaderCode
// Needed because sip uses deprecated throw(...) annotations to raise the correct Python exception
#define throw(...)
%End


template <TYPE>
%MappedType QVector< QVector<TYPE> >
Expand Down
5 changes: 5 additions & 0 deletions python/server/server.sip.in
Expand Up @@ -3,6 +3,11 @@

${DEFAULTDOCSTRINGSIGNATURE}

%ModuleHeaderCode
// Needed because sip uses deprecated throw(...) annotations to raise the correct Python exception
#define throw(...)
%End

%Import QtCore/QtCoremod.sip
%Import QtGui/QtGuimod.sip
%Import QtXml/QtXmlmod.sip
Expand Down

0 comments on commit a7fd8e0

Please sign in to comment.