[XviD-devel] gme code
Jim Hauxwell
james at dattrax.co.uk
Sat Nov 15 15:25:21 CET 2003
I would check what is generated by the compiler. I have returned structures
in the past and it has invoked a memcpy() to move the structure from the
stack frame to the output.
Jim
-----Original Message-----
From: xvid-devel-bounces at xvid.org [mailto:xvid-devel-bounces at xvid.org] On
Behalf Of Christoph Lampert
Sent: 15 November 2003 13:39
To: xvid-devel at xvid.org
Subject: Re: [XviD-devel] gme code
On Sat, 15 Nov 2003, elcabesa wrote:
> is good code returning a struct from a function?
Yes. Funnily enough, it has been a part of the C standard from the very
beginning. It's not just a compiler extension or C99.
I guess I never used it before, because it sounds like something C
would not allow, but it does.
gruel
_______________________________________________
XviD-devel mailing list
XviD-devel at xvid.org
http://list.xvid.org/mailman/listinfo/xvid-devel
More information about the XviD-devel
mailing list