Commit f93d8756 authored by KLOCZKO Thibaud's avatar KLOCZKO Thibaud

Merge tag '1.6.7' into develop

1.6.7

Swig: Add typecheck for QStringList
parents 66e71820 81f37090
# ChangeLog
## version 1.6.7 - 2018-11-23
- Swig: Add typecheck for QStringList
## version 1.6.6 - 2018-11-22
- Remove Python->C++ director swig conversions for references on Qt implicitly shared classes.
## version 1.6.5 - 2018-11-20
......
......@@ -24,7 +24,7 @@ project(dtk)
set(dtk_VERSION_MAJOR 1)
set(dtk_VERSION_MINOR 6)
set(dtk_VERSION_PATCH 6)
set(dtk_VERSION_PATCH 7)
set(dtk_VERSION
${dtk_VERSION_MAJOR}.${dtk_VERSION_MINOR}.${dtk_VERSION_PATCH})
......
......@@ -148,6 +148,12 @@ namespace Namespace {
%typemap(typecheck) const qlonglong& = long long;
%typemap(typecheck) QString = char *;
%typemap(typecheck) const QString& = char *;
%typemap(typecheck, precedence=SWIG_TYPECHECK_POINTER, noblock=1) QStringList {
$1 = PyList_Check($input) ? 1 : 0;
}
%typemap(typecheck, precedence=SWIG_TYPECHECK_POINTER, noblock=1) const QStringList& {
$1 = PyList_Check($input) ? 1 : 0;
}
// Python -> C++
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment