On 05/25/12 at 05:51pm, Ludovic Courtès wrote:
Hi!
Jan Synacek jsyna...@redhat.com skribis:
Guile/Glue/glue.cpp:233:31: error: cannot convert ‘SCM {aka
scm_unused_struct*}’ to ‘const char*’ for argument ‘1’ to
‘scm_unused_struct*
scm_str2string(const char*)’
[...]
() Jan Synacek jsyna...@redhat.com
() Mon, 28 May 2012 09:02:13 +0200
Can you please suggest a way (if there is a generic one) to fix
these kinds of old-new api problems?
Guile-SDL, Guile-PG, Guile-GDBM, Guile-WWW and other packages
available from http://www.gnuvola.org/software/ use
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