Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!motcsd!mcdcup!mcdchg!tellab5!mtcchi!fjo From: fjo@mtcchi.uucp (2667-Frank Owen(ZG90210)0000) Newsgroups: comp.sys.mac.programmer Subject: Re: Yet more THINK C suggestions Message-ID: <1990Oct18.191531.29325@mtcchi.uucp> Date: 18 Oct 90 19:15:31 GMT References: <21107@well.sf.ca.us> <16707@thorin.cs.unc.edu> <15577@reed.UUCP> Organization: Memorex Telex Corporation NSBG/STP Lines: 23 chaffee@reed.UUCP (Alex Chaffee) writes: > - how about true inline functions? Come on; you've got an assembler and a > compiler right there; why make us hand-assemble our inline functions into > machine code? (cf. p.125) Something like >inline pascal void PrOpenPage() { > asm { > move.l #0x10000808, -(SP) > _PrGlue > } >} THINK C already allows you to define this is a macro, that would yield exactly the same code as the inline would. -- Frank Owen (fjo@mtcchi.uucp) 708-305-3182 Memorex-Telex Corporation Indian Hill Court 1000 E. Warrenville Rd. RM 1A315 Naperville, Il 60563