home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / amiga / programm / 11482 < prev    next >
Encoding:
Text File  |  1992-07-22  |  1.7 KB  |  42 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. 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
  3. From: monty@sagpd1 ()
  4. Subject: Re: Hey Commodore types
  5. Message-ID: <1992Jul22.151307.1736@sagpd1>
  6. Reply-To: monty@sagpd1.UUCP (Monty Saine)
  7. Organization: Scientific Atlanta, Government Products Div, San Diego, CA
  8. 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>
  9. Date: Wed, 22 Jul 1992 15:13:07 GMT
  10. Lines: 30
  11.  
  12. In article <1992Jul15.114615.25849@mpifr-bonn.mpg.de> mlelstv@specklec.mpifr-bonn.mpg.de (Michael van Elst) writes:
  13. >In <1992Jul15.023355.1552@agora.uucp> robart@agora.uucp (Robert Barton) writes:
  14. >>  from the autodoc:
  15. >
  16. >>ULONG BltBitMap(struct BitMap *, WORD, WORD, struct BitMap *, WORD, WORD,
  17. >>                WORD, WORD, UBYTE, UBYTE, UWORD *)
  18. >
  19. >>  from the prototype:
  20. >
  21. >>LONG BltBitMap(struct BitMap *, long, long, struct BitMap *, long, long,
  22. >>               long, long, unsigned long, unsigned long, PLANEPTR)
  23. >
  24. >and both are 'correct'.
  25. >
  26. >The autodocs specify the values the function expects/returns, the
  27. >prototypes specify what the C-code has to pass to the function.
  28. >
  29. >How many bugs are now in the prototypes ?
  30. >
  31.  
  32.     I am confused???? You are saying that a function expects a UBYTE so the
  33.     complier passes an unsigned long???????? and this is correct ?????
  34.  
  35.     What am I overlooking here, do all amiga compliers always pass longs
  36.     on the stack???
  37.  
  38.     This is not a flame, I am truely confused by how both can be 'correct'
  39.     in the above examples.
  40.  
  41.     Monty Saine
  42.