Hi,

Jan Synacek <jsyna...@redhat.com> skribis:

> It's a macro:
>
> #define scm_scm2str gh_scm2newstr
>
> I added additional
>
> #define gh_scm2newstr(a, b) scm_str2string((a))

This one is incorrect.  You’d want ‘scm_to_locale_string’ instead, which
takes an ‘SCM’ and returns a ‘char *’ (which the caller has the
responsibility to free eventually.)

Can you try and report back?

Thanks,
Ludo’.

Reply via email to