[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] SIP problem -- multiple /Out/ args?
From:       "Jim Crowell" <jaclists () mailbolt ! com>
Date:       2008-01-17 19:13:45
Message-ID: 1200597225.19347.1231824379 () webmail ! messagingengine ! com
[Download RAW message or body]


I'm using SIP 4.7.3.

The following method specification in my .sip file:

  int receiveMessage(string* userName /Out/, string* messageType /Out/,
                      string* messageBody /Out/, string* context /Out/)
                      /ReleaseGIL/ ;

Yields the following in the generated code:

if
(sipParseArgs(&sipArgsParsed,sipArgs,"B",&sipSelf,sipClass_arSZGClient,&sipCpp))
{
    int sipRes;
    PyObject *sipResult;
    a0 = new string();
    PyObject *sipResult;
    a1 = new string();
    PyObject *sipResult;
    a2 = new string();
    PyObject *sipResult;
    a3 = new string();


i.e. sipResult is multiply defined, so of course it doesn't compile.
Bug?

-Jim C.
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic