🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #11859

Re: Prototypes & the default promotions (was about the new RKM stuff..

#11859
From: David King
Date: Thu, 16 Mar 1989 16:55
38 lines
2054 bytes
In article <393@gtss.gatech.edu> chas@gtss.UUCP (Charles Cleveland) writes:
>In article <6300@cbmvax.UUCP> ditto@cbmvax.UUCP (Michael "Ford" Ditto) writes:
...
>)I haven't looked, but I'll bet that Lattice's headers prototype such
>)routines with LONG args, contrary to the new RKM description.  This
>
>I haven't looked either, but I'll bet they say SHORT.

	Well, guys, a quick look through the Includes and the Lattice
manual shows that the winner is...

	Michael.

	Charles had the right idea, which in fact was what I thought 
the answer was....When I saw the answer at first I thought that it was
because the #pragma libcall only specifies the register to move the value to.
Now I think it was done for compatability the code you compile using
Amiga.lib will behaive exactly the same as the #pragma libcall'ed code.  
However, that doesn't seem quite right, so my final guess is that the pragmas
were created using fd2pragma, and fd files have no concept of parts of a 
register.

	John?

-David

>-- 
>"Our vision is to speed up time, eventually eliminating it." -- Alex Schure
>
>Charles Cleveland   Georgia Tech School of Physics   Atlanta, GA 30332-0430
>UUCP: ...!gatech!gtss!chas                  INTERNET:  chas@gtss.gatech.edu


-- 
 David King - a "Real Role-Player" (tm)
Georgia Insitute of Technology, Atlanta Georgia, 30332
uucp: ...!{akgua,allegra,amd,hplabs,ihnp4,seismo,ut-ngp}!gatech!gitpyr!dsking
ARPA: dsking@pyr.gatech.edu
Technical Details
Message-ID: <7621@pyr.gatech.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!gatech!gitpyr!dsking
References: <8903111954.AA04828@jade.berkeley.edu> <15802@oberon.USC.EDU> <970@sas.UUCP> <6300@cbmvax.UUCP> <393@gtss.gatech.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!gatech!gitpyr!dsking
From: dsking@pyr.gatech.EDU ( David King)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Prototypes & the default promotions (was about the new RKM stuff..
Keywords: C calling conventions
Message-ID: <7621@pyr.gatech.EDU>
Date: 16 Mar 89 16:55:44 GMT
References: <8903111954.AA04828@jade.berkeley.edu> <15802@oberon.USC.EDU> <970@sas.UUCP> <6300@cbmvax.UUCP> <393@gtss.gatech.edu>
Reply-To: dsking@pyr.UUCP ( David King)
Organization: Georgia Institute of Technology
Lines: 38