home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / amiga / programm / 11557 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.1 KB

  1. Path: sparky!uunet!munnari.oz.au!mips!decwrl!decwrl!contessa!mwm
  2. From: mwm@contessa.palo-alto.ca.us (Mike Meyer)
  3. Subject: Re: Hey Commodore types
  4. Newsgroups: comp.sys.amiga.programmer
  5. Distribution: world
  6. References: <paulk.0k1w@terapin.com> <1992Jul14.014115.6212@agora.uucp> <1992Jul14.182841.5792@ultb.isc.rit.edu> <1992Jul15.023355.1552@agora.uucp> <1992Jul15.114615.25849@mpifr-bonn.mpg.de> <1992Jul22.151307.1736@sagpd1> <1992Jul23.103350.14923@mpifr-bonn.mpg.de>
  7. X-NewsSoftware: Amiga Yarn 2.0, 1992/06/25 01:41:36
  8. Keywords: 
  9. Summary: 
  10. Message-ID: <mwm.1ah3@contessa.palo-alto.ca.us>
  11. Date: 23 Jul 92 09:01:15 PST
  12. Organization: Missionaria Phonibalonica
  13. Lines: 10
  14.  
  15. In <1992Jul23.103350.14923@mpifr-bonn.mpg.de>, mlelstv@specklec.mpifr-bonn.mpg.de (Michael van Elst) wrote:
  16. > Under K&R C every integer parameter was pushed as a LONG onto the stack
  17. > anyway. Same for ANSI C if you don't use prototypes. This matches the
  18. > behaviour of the stub routines.
  19.  
  20. It's INT, not long, that's pushed if the compiler doesn't have a known
  21. type. Unless the type of the pushed object is larger than a long; for
  22. instance, a pointer when you are compiling with 16-bit ints.
  23.  
  24.     <mike
  25.