Commit d6b73986 authored by NICLAUSSE Nicolas's avatar NICLAUSSE Nicolas
Browse files

fix syntax

parent 54ab77d8
......@@ -416,7 +416,7 @@ namespace Namespace {
$input = PyString_FromString($1.toUtf8().constData());
}
// %define %QList_typemapsPtr(DATA_TYPE)
%define %QList_typemapsPtr(DATA_TYPE)
%typemap(out) QList<DATA_TYPE> {
$result = PyList_New($1.size());
......@@ -439,7 +439,7 @@ namespace Namespace {
$input = list;
}
// %enddef // %QList_typemapsPtr()
%enddef // %QList_typemapsPtr()
%QList_typemapsPtr(dtkCorePlugin *)
......@@ -576,7 +576,7 @@ public:
T2 second;
};
// %define %QPair_typemaps(DATA_TYPE_1, DATA_TYPE_2)
%define %QPair_typemaps(DATA_TYPE_1, DATA_TYPE_2)
%typemap(out) QPair<DATA_TYPE_1, DATA_TYPE_2> {
$result = PyTuple_New(2);
......@@ -586,7 +586,7 @@ public:
PyTuple_SET_ITEM($result, 1, obj2);
}
// %enddef // %QPair_typemaps()
%enddef // %QPair_typemaps()
%template(QPairStrStrList) QPair<QString, QStringList>;
......
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