Re: [cc65] Passing structs Through Functions

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-02-22 21:34:38


On Fri, Feb 22, 2002 at 02:59:24AM -0500, Greg King wrote:
> The compiler could look at the size of the struct; if it is not larger than an
> int or a long int, then cc65 could generate code to pass/receive that structure,
> as though it were one of those (single) data-types.

The idea is good. I'm not sure if it's really as easy as it sounds, but it's
definitely worth a closer look.

Thanks for the suggestion!

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-02-22 21:35:31 CET