On 24.02.22 14:22, Basil Hussain wrote:
I would assume both, as the attribute concerns not only how the function
is to be called by other code, but also affects how SDCC generates code
to access args within the function.
You should need it for both, once in the .c file for compiling the
function and once in the .h, so that other object files can call it
correctly.
--
Freundliche Grüße / Yours sincerely
Sebastian „Baŝto“ Riedel
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user