home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!network.ucsd.edu!mvb.saic.com!ncr-sd!sagpd1!monty
- From: monty@sagpd1 ()
- Subject: Re: Hey Commodore types
- Message-ID: <1992Jul22.151307.1736@sagpd1>
- Reply-To: monty@sagpd1.UUCP (Monty Saine)
- Organization: Scientific Atlanta, Government Products Div, San Diego, CA
- 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>
- Date: Wed, 22 Jul 1992 15:13:07 GMT
- Lines: 30
-
- In article <1992Jul15.114615.25849@mpifr-bonn.mpg.de> mlelstv@specklec.mpifr-bonn.mpg.de (Michael van Elst) writes:
- >In <1992Jul15.023355.1552@agora.uucp> robart@agora.uucp (Robert Barton) writes:
- >> from the autodoc:
- >
- >>ULONG BltBitMap(struct BitMap *, WORD, WORD, struct BitMap *, WORD, WORD,
- >> WORD, WORD, UBYTE, UBYTE, UWORD *)
- >
- >> from the prototype:
- >
- >>LONG BltBitMap(struct BitMap *, long, long, struct BitMap *, long, long,
- >> long, long, unsigned long, unsigned long, PLANEPTR)
- >
- >and both are 'correct'.
- >
- >The autodocs specify the values the function expects/returns, the
- >prototypes specify what the C-code has to pass to the function.
- >
- >How many bugs are now in the prototypes ?
- >
-
- I am confused???? You are saying that a function expects a UBYTE so the
- complier passes an unsigned long???????? and this is correct ?????
-
- What am I overlooking here, do all amiga compliers always pass longs
- on the stack???
-
- This is not a flame, I am truely confused by how both can be 'correct'
- in the above examples.
-
- Monty Saine
-