Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!elroy.jpl.nasa.gov!thyme!kaleb From: kaleb@thyme.jpl.nasa.gov (Kaleb Keithley ) Newsgroups: comp.windows.x.motif Subject: Re: trouble with structures and callbacks Message-ID: <1990Nov23.231941.14801@thyme.jpl.nasa.gov> Date: 23 Nov 90 23:19:41 GMT References: <2450@kiwi.mpr.ca> <13837@june.cs.washington.edu> Followup-To: comp.lang.c Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 8 >In article <2450@kiwi.mpr.ca> baker@mprgate.mpr.ca (Sue Baker) writes: > DAMNIT, you can only pass the POINTER TO THE STRUCTURE, > NOT the actual structure. > So only the first 32-bits are passed, in this case No, I don't think so. K&R1 says you can. Just because you might not ordinarily want to. Just because in this case it is definitely wrong. Doesn't make it *always* wrong.