Path: utzoo!attcan!uunet!husc6!bloom-beacon!ZERMATT.LCS.MIT.EDU!RWS From: RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) Newsgroups: comp.windows.x Subject: XtAddInput Message-ID: <19880524123449.1.RWS@KILLINGTON.LCS.MIT.EDU> Date: 24 May 88 12:34:00 GMT References: <9225@ames.arc.nasa.gov> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 24 Date: 24 May 88 00:14:23 GMT From: schoch@AMES.ARC.NASA.GOV (Steve Schoch) int *source; XtInputId *id; I can't see any reason for passing pointers to these things, so I think the manual has the correct behavior and the library is incorrect. The manual is incorrect. Callbacks take pointers to things to facilitate bindings to languages other than C (viz. Ada). As a different kludge to the same problem, this is also why widgets have a pointer to self as their first component. Also, on the same page, XtRemoveInput() is documented as taking one argument: XtInputId *id. It doesn't take a pointer. Right. Have these bugs been fixed? If so, where do I get an update? Use a red pencil on your manual.