From 456fa9f963dcba838a135416a5d52957b54c3ffb Mon Sep 17 00:00:00 2001 From: bbbradsmith Date: Wed, 3 May 2023 05:36:37 -0400 Subject: [PATCH] cc65 document: both pass and return of structs are allowed --- doc/cc65.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/cc65.sgml b/doc/cc65.sgml index 023204f4d..1476b40a3 100644 --- a/doc/cc65.sgml +++ b/doc/cc65.sgml @@ -806,8 +806,8 @@ and the one defined by the ISO standard: The datatypes "float" and "double" are not available.

- C Functions may return structs (or unions) by value, but only of - 1, 2 or 4 byte sizes. + C Functions may pass and return structs (or unions) by value, but only + of 1, 2 or 4 byte sizes.

Most of the C library is available with only the fastcall calling convention (). It means