From: cuz Date: Fri, 10 Aug 2001 07:08:20 +0000 (+0000) Subject: Add comment about passing structs as params X-Git-Tag: V2.12.0~2733 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c8d206303f2f5f1984d936c1ba356c82fdc3851c;p=cc65 Add comment about passing structs as params git-svn-id: svn://svn.cc65.org/cc65/trunk@843 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/doc/cc65.sgml b/doc/cc65.sgml index 3f773f23b..f2461389c 100644 --- a/doc/cc65.sgml +++ b/doc/cc65.sgml @@ -367,7 +367,8 @@ and the one defined by the ISO standard: an additional macro needed to access parameters in a variable parameter list in a C function.

- Functions may not return structs. However, struct assignment *is* + Functions may not return structs (or unions), and structs may not be + passed as parameters by value. However, struct assignment *is* possible.

Part of the C library is available only with fastcall calling