gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing parameters of type 'ARRAY[0..MAXINDEX] OF ElementType' to C


From: Gaius Mulley
Subject: Re: Passing parameters of type 'ARRAY[0..MAXINDEX] OF ElementType' to C
Date: Tue, 30 Jan 2024 13:55:47 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Rudolf Schubert <rudolf@muc.de> writes:

> BTW, are you sure the hidden parameter is passed BEFORE the open
> array parameter? At least with GPM and GM2 I use several C functions
> where the (hidden) high value is passed AFTER the open array parameter.
> So my C function would look like this:
>
> void p ( char str[], unsigned argc );

Hi Rudolf,

just to confirm the prototype above is correct for gm2 (for both VAR and
non VAR open array parameters),

regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]