summaryrefslogtreecommitdiffstats
path: root/dcoppython/shell/marshal_funcs.data
diff options
context:
space:
mode:
Diffstat (limited to 'dcoppython/shell/marshal_funcs.data')
-rw-r--r--dcoppython/shell/marshal_funcs.data20
1 files changed, 10 insertions, 10 deletions
diff --git a/dcoppython/shell/marshal_funcs.data b/dcoppython/shell/marshal_funcs.data
index fe22e414..6cf4d34f 100644
--- a/dcoppython/shell/marshal_funcs.data
+++ b/dcoppython/shell/marshal_funcs.data
@@ -53,13 +53,13 @@ type: bool
if (str) {
bool ok;
bool b = fromPyObject_bool(obj,&ok);
- (*str) << (Q_INT8)b;
+ (*str) << (TQ_INT8)b;
}
return true;
}
%% demarshal
{
- Q_INT8 i;
+ TQ_INT8 i;
(*str) >> i;
return toPyObject_bool(i!=0);
}
@@ -71,13 +71,13 @@ type:int
{
if (!PyInt_Check(obj)) return false;
if (str) {
- (*str) << (Q_INT32)PyInt_AsLong(obj);
+ (*str) << (TQ_INT32)PyInt_AsLong(obj);
}
return true;
}
%% demarshal
{
- Q_INT32 i;
+ TQ_INT32 i;
(*str) >> i;
return PyInt_FromLong( (long)i );
}
@@ -89,13 +89,13 @@ type:uint
{
if (!PyInt_Check(obj)) return false;
if (str) {
- (*str) << (Q_INT32)PyInt_AsLong(obj);
+ (*str) << (TQ_INT32)PyInt_AsLong(obj);
}
return true;
}
%% demarshal
{
- Q_INT32 i;
+ TQ_INT32 i;
(*str) >> i;
return PyInt_FromLong( (long)i );
}
@@ -135,7 +135,7 @@ type:uchar
if (PyInt_Check(obj)) {
if (str) {
long l = PyInt_AsLong(obj);
- Q_UINT8 c = (Q_UINT8)(l & 0xff);
+ TQ_UINT8 c = (TQ_UINT8)(l & 0xff);
(*str) << c;
}
return true;
@@ -145,7 +145,7 @@ type:uchar
}
%%demarshal
{
- Q_UINT8 c;
+ TQ_UINT8 c;
(*str) >> c;
return PyString_FromStringAndSize((const char *)(&c),1);
}
@@ -158,7 +158,7 @@ type:char
if (PyInt_Check(obj)) {
if (str) {
long l = PyInt_AsLong(obj);
- Q_INT8 c = (Q_INT8)(l & 0xff);
+ TQ_INT8 c = (TQ_INT8)(l & 0xff);
(*str) << c;
}
return true;
@@ -168,7 +168,7 @@ type:char
}
%%demarshal
{
- Q_INT8 c;
+ TQ_INT8 c;
(*str) >> c;
return PyInt_FromLong((long)c);
}