From pykde Fri Jan 18 10:17:42 2008 From: Phil Thompson Date: Fri, 18 Jan 2008 10:17:42 +0000 To: pykde Subject: Re: [PyQt] SIP problem -- multiple /Out/ args? Message-Id: <200801181017.42685.phil () riverbankcomputing ! co ! uk> X-MARC-Message: https://marc.info/?l=pykde&m=120065201425011 On Thursday 17 January 2008, Jim Crowell wrote: > 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,&sip >Cpp)) { > 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? Yes - fixed in tonight's snapshot. Thanks, Phil _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt