home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!mips!decwrl!decwrl!contessa!mwm
- From: mwm@contessa.palo-alto.ca.us (Mike Meyer)
- Subject: Re: Hey Commodore types
- Newsgroups: comp.sys.amiga.programmer
- Distribution: world
- 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>
- X-NewsSoftware: Amiga Yarn 2.0, 1992/06/25 01:41:36
- Keywords:
- Summary:
- Message-ID: <mwm.1ah3@contessa.palo-alto.ca.us>
- Date: 23 Jul 92 09:01:15 PST
- Organization: Missionaria Phonibalonica
- Lines: 10
-
- In <1992Jul23.103350.14923@mpifr-bonn.mpg.de>, mlelstv@specklec.mpifr-bonn.mpg.de (Michael van Elst) wrote:
- > Under K&R C every integer parameter was pushed as a LONG onto the stack
- > anyway. Same for ANSI C if you don't use prototypes. This matches the
- > behaviour of the stub routines.
-
- It's INT, not long, that's pushed if the compiler doesn't have a known
- type. Unless the type of the pushed object is larger than a long; for
- instance, a pointer when you are compiling with 16-bit ints.
-
- <mike
-