delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/14/00:37:50

From: brennan AT news DOT rt66 DOT com (Brennan "The Rev. Bas" Underwood)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: register based calling
Date: 13 Mar 1997 13:26:38 -0700
Organization: Acid Brain
Lines: 17
Distribution: world
Message-ID: <5g9ntu$3o5$1@mack.rt66.com>
References: <01bc2d73$36c37780$1bb0f8ce AT pquinney>
NNTP-Posting-Host: mack.rt66.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <01bc2d73$36c37780$1bb0f8ce AT pquinney>,
Ian Mausolus <mausolus AT ican DOT net> wrote:
>Watcom C/C++ does a perfect job as far as using registers "between"
>functions goes -- does anyone know of a way we could get perfect register
>based calling flexibility in DJGPP??  Maybe there is something we can write
>ourselves which will handle register based calling properly?

Try using the 'inline' keyword to avoid the function call entirely.

i.e. inline void draw_compiled_sprite();


Brennan
-- 
 brennan AT rt66 DOT com |  fsck /u
Riomhchlaraitheoir|  
   Rasterfarian   |  <http://brennan.home.ml.org>                          -O

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019