summaryrefslogtreecommitdiffstats
path: root/sip/tqt/tqmemarray.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tqt/tqmemarray.sip')
-rw-r--r--sip/tqt/tqmemarray.sip20
1 files changed, 10 insertions, 10 deletions
diff --git a/sip/tqt/tqmemarray.sip b/sip/tqt/tqmemarray.sip
index aebbcb4..2df5299 100644
--- a/sip/tqt/tqmemarray.sip
+++ b/sip/tqt/tqmemarray.sip
@@ -64,24 +64,24 @@ converted to and from Python lists of the type.
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- TQMemArray<int> *qma = new TQMemArray<int>(PyList_GET_SIZE(sipPy));
+ TQMemArray<int> *tqma = new TQMemArray<int>(PyList_GET_SIZE(sipPy));
PyErr_Clear();
for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
{
- (*qma)[i] = (int)PyLong_AsLong(PyList_GET_ITEM(sipPy,i));
+ (*tqma)[i] = (int)PyLong_AsLong(PyList_GET_ITEM(sipPy,i));
if (PyErr_Occurred() != NULL)
{
- delete qma;
+ delete tqma;
*sipIsErr = 1;
return 0;
}
}
- *sipCppPtr = qma;
+ *sipCppPtr = tqma;
return sipGetState(sipTransferObj);
%End
@@ -135,7 +135,7 @@ template<TYPE>
return 1;
}
- TQMemArray<TYPE> *ql = new TQMemArray<TYPE>;
+ TQMemArray<TYPE> *tql = new TQMemArray<TYPE>;
for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
{
@@ -146,18 +146,18 @@ template<TYPE>
{
sipReleaseInstance(t, sipClass_TYPE, state);
- delete ql;
+ delete tql;
return 0;
}
- uint idx = ql->size();
- ql->resize(idx + 1);
- ql->at(idx) = *t;
+ uint idx = tql->size();
+ tql->resize(idx + 1);
+ tql->at(idx) = *t;
sipReleaseInstance(t, sipClass_TYPE, state);
}
- *sipCppPtr = ql;
+ *sipCppPtr = tql;
return sipGetState(sipTransferObj);
%End