Bill Schottstaedt:

`scm_i_string_chars ()' is used by Mailutils, Lilypond, AutoGen, SND

I'm not knowingly using any scm_i_* entities in Snd.  I removed the
scm_i_procedure_arity use, and I think the SCM_STRING_CHARS macro
is only used if it is defined.


Well, I'm using scm_i_string_chars in eval-c.scm, so that's probably
explains Ludovic's hit. eval-c.scm contains these lines:

"#ifdef SCM_STRING_CHARS"
"#  define GET_STRING(a) (scm_is_false(a)?NULL:(char*)SCM_STRING_CHARS(a))"
"#else"
"#  define GET_STRING(a) (scm_is_false(a)?NULL:(char*)scm_i_string_chars(a))"
"#endif"

Is this okay, and in case not, is there a better way to convert a char* into a guile string?



Reply via email to