[Python-bugs-list] [ python-Bugs-822005 ] Carbon.CarbonEvt.ReceiveNextEvent args wrong

SourceForge.net noreply at sourceforge.net
Sat Oct 11 21:23:48 EDT 2003


Bugs item #822005, was opened at 2003-10-12 14:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=822005&group_id=5470

Category: Macintosh
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gregory Ewing (gcewing)
Assigned to: Jack Jansen (jackjansen)
Summary: Carbon.CarbonEvt.ReceiveNextEvent args wrong

Initial Comment:
In MacPython, the ReceiveNextEvent function in
Carbon.CarbonEvt
has been incorrectly wrapped.

In C, the 2nd argument of ReceiveNextEvent is declared
as an
EventTypeSpec *. This has been wrapped as though it were a
pointer to a single EventTypeSpec, but it's actually a
pointer to
an array of EventTypeSpecs.

The first two arguments of ReceiveNextEvent should be
represented in Python by a single argument containing a
list of EventTypeSpecs.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=822005&group_id=5470



More information about the Python-bugs-list mailing list