summaryrefslogtreecommitdiffstats
path: root/PySide/QtNetwork/glue/qudpsocket_read_datagram_glue.cpp
blob: bffc042d5224a41b0f0091441194e7b46d487032 (plain)
1
2
3
4
5
6
    Shiboken::AutoArrayPointer<char> data(%ARGUMENT_NAMES);
    QHostAddress ha;
    quint16 port;

    %RETURN_TYPE retval = %CPPSELF.%FUNCTION_NAME(data, %ARGUMENT_NAMES, &ha, &port);
    %PYARG_0 = Shiboken::makeTuple(QByteArray(data, retval), ha, port);