[m-users.] Using MR_list_cons inside of C functions
Zoltan Somogyi
zoltan.somogyi at runbox.com
Thu Jul 20 19:21:31 AEST 2023
On 2023-07-20 10:53 +02:00 CEST, "M McDonough" <foolkingcrown at gmail.com> wrote:
> Wouldn't it be possible to assign the cons head argument to a local
> variable first thing in MR_list_cons? Or would that break other
> things/not fix the same case with the tail argument?
Assign the cons head argument to *what* local variable?
C macros cannot create local variables. Gcc's statement expressions can,
but they are not available in other compilers. This was the issue
that Peter was referring to.
Zoltan.
More information about the users
mailing list