Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: $Revision: 1.6.2.16 $; site ISM780B.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!gatech!seismo!harvard!bbnccv!ISM780B!tim From: tim@ISM780B.UUCP Newsgroups: net.micro.mac Subject: Re: Using the Macintosh Toolbox with C ( Message-ID: <36400013@ISM780B.UUCP> Date: Mon, 2-Dec-85 11:40:00 EST Article-I.D.: ISM780B.36400013 Posted: Mon Dec 2 11:40:00 1985 Date-Received: Thu, 5-Dec-85 06:40:43 EST References: <3021@sun.UUCP> Lines: 15 Nf-ID: #R:sun:-302100:ISM780B:36400013:000:609 Nf-From: ISM780B!tim Dec 2 11:40:00 1985 [ talking about when your routines are called by the toolbox, such as filter proc for getfile, etc ] > The nasty case, which prompted Chuq's original comment, occurs > when the Toolbox routine passes the parameters to your routine > in registers. Here, everyone is equal...you have no choice > but to get out your Motorola assembly manuals and write the > dreaded "Glue Routine" to take the parameters out of the > registers and stuff them where your compiler wants to find > them. (which again can be either on the stack, or in some > other registers). Which Toolbox routines do this?