[Top][All Lists]

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

Re: scm_i_* in Snd

From: Kjetil S. Matheussen
Subject: Re: scm_i_* in Snd
Date: Sun, 01 Jun 2008 22:31:49 +0200 (CEST)

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:

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

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

reply via email to

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