aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/typesystem_templates.xml
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-08-20 17:25:30 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-08-20 18:10:35 -0300
commit5a06e6f135aae65e314ab4c2002a5923e221a8ac (patch)
tree0605cc1a22c7e275d4fdda54bff89ba82d23228a /PySide/typesystem_templates.xml
parent662800956b935bf344dfb8cbfb47f2c3b5717aec (diff)
Fixed QtNetwork typesystem to work on windows.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
Diffstat (limited to 'PySide/typesystem_templates.xml')
-rw-r--r--PySide/typesystem_templates.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/typesystem_templates.xml b/PySide/typesystem_templates.xml
index 1de06a1d6..b8c43eebe 100644
--- a/PySide/typesystem_templates.xml
+++ b/PySide/typesystem_templates.xml
@@ -121,7 +121,7 @@
%PYARG_0 = Shiboken::makeTuple(a, b, c, d, e);
</template>
<template name="read_wrapper">
- char _data[%2];
+ PySide::AutoArrayPointer&lt;char&gt; _data(%2);
qint64 _size = %CPPSELF.%FUNCTION_NAME(_data, %2);
if (_size > 0)
%PYARG_0 = %CONVERTTOPYTHON[QByteArray](QByteArray(_data, _size));