[comp.sys.mac.programmer] Apparent Inconsistency in QElem Definitions

eberard@ajpo.sei.cmu.edu (Edward Berard) (01/08/89)

I have a question about the record type QElem located in the operating
system utilities. One of the descriptions we have of the C
implementation of this record refers to a pointer called qlink and a
field called QData. We also have Pascal description of the QElem
record type which does not appear to have either the pointer or the
"extra" field, i.e., the Pascal description makes no reference to
either qlink or QData. Why is this?

If there are other, similar "inconsistencies", I would also like to
know about them. Thank you for any time or consideration.

				-- Ed Berard
				   (301) 695-6960
				   FAX: (301) 695-7734

oster@dewey.soe.berkeley.edu (David Phillip Oster) (01/09/89)

There is a bug in the MacProtos.h file I posted here recently:

PPostEvent has a last argument of type QElem **
not Qelem *
since it takes the address of a variable into which it will fill the
pointer to the QElem that it actually posts.  Sorry if this has
inconvenienced anyone, I just discovered it myself.

--- David Phillip Oster            --"When we replace the mouse with a pen,
Arpa: oster@dewey.soe.berkeley.edu --3 button mouse fans will need saxophone
Uucp: {uwvax,decvax}!ucbvax!oster%dewey.soe.berkeley.edu --lessons." - Gasee