summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:27:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:27:35 -0600
commitf21d0e5e0c212adcb9a0929e2d9c531fcf5b3275 (patch)
tree9a2fa1965ae9e5b95862883e19bacaef512170ad
parent60933ac14a69fb2b361c06761bb0c877f76130f9 (diff)
downloadtdebindings-f21d0e5e0c212adcb9a0929e2d9c531fcf5b3275.tar.gz
tdebindings-f21d0e5e0c212adcb9a0929e2d9c531fcf5b3275.zip
Rename PyObject_Q* to PyObject_TQ*
-rw-r--r--dcoppython/shell/marshal_funcs.data12
1 files changed, 6 insertions, 6 deletions
diff --git a/dcoppython/shell/marshal_funcs.data b/dcoppython/shell/marshal_funcs.data
index 22b36c26..fe22e414 100644
--- a/dcoppython/shell/marshal_funcs.data
+++ b/dcoppython/shell/marshal_funcs.data
@@ -391,7 +391,7 @@ type:TQPointArray
int size = PyList_Size(obj);
TQPointArray pa(size);
for(int c=0;c<size;c++) {
- TQPoint p = fromPyObject_QPoint(PyList_GetItem(obj,c), ok);
+ TQPoint p = fromPyObject_TQPoint(PyList_GetItem(obj,c), ok);
if (!*ok) return false;
pa.setPoint(c,p);
}
@@ -403,7 +403,7 @@ type:TQPointArray
PyObject *obj = PyList_New(val.size());
if (!obj) return NULL;
for(uint c=0;c<val.size();c++) {
- PyObject *tuple = toPyObject_QPoint( val.point(c) );
+ PyObject *tuple = toPyObject_TQPoint( val.point(c) );
PyList_SetItem(obj, c, tuple);
// Py_DECREF(tuple);
}
@@ -483,8 +483,8 @@ type:TQDateTime
PyObject *date_tuple, *time_tuple;
if (PyArg_ParseTuple(obj, (char*)"OO", &date_tuple, &time_tuple)) {
TQDateTime dt;
- dt.setTime( fromPyObject_QTime(time_tuple, ok) );
- if (*ok) dt.setDate( fromPyObject_QDate(date_tuple, ok) );
+ dt.setTime( fromPyObject_TQTime(time_tuple, ok) );
+ if (*ok) dt.setDate( fromPyObject_TQDate(date_tuple, ok) );
return dt;
}
@@ -492,8 +492,8 @@ type:TQDateTime
}
%% to_pyobj
{
- PyObject *date_tuple = toPyObject_QDate( val.date() );
- PyObject *time_tuple = toPyObject_QTime( val.time() );
+ PyObject *date_tuple = toPyObject_TQDate( val.date() );
+ PyObject *time_tuple = toPyObject_TQTime( val.time() );
return Py_BuildValue((char*)"OO", date_tuple, time_tuple );
}
%% marshal