unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: "Kjetil S. Matheussen" <k.s.matheussen@notam02.no>
To: guile-devel@gnu.org
Subject: Re: scm_i_* in Snd
Date: Sun, 01 Jun 2008 22:31:49 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0806012227530.8951@ttleush> (raw)
In-Reply-To: <cmu-lmtpd-11096-1212351961-0@mail-imap1.uio.no>


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	other threads:[~2008-06-01 20:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cmu-lmtpd-11096-1212351961-0@mail-imap1.uio.no>
2008-06-01 20:31 ` Kjetil S. Matheussen [this message]
2008-06-01 20:55   ` scm_i_* in Snd Clinton Ebadi
2008-06-01 21:17     ` Clinton Ebadi
2008-06-02  7:42     ` Sergey Poznyakoff
2008-06-02  9:52       ` Ludovic Courtès
2008-06-04  3:43         ` Han-Wen Nienhuys
2008-06-04  7:27           ` Ludovic Courtès
     [not found] <cmu-lmtpd-30334-1212422819-0@mail-imap1.uio.no>
2008-06-03 22:42 ` Kjetil S. Matheussen
2008-06-01 18:18 Bill Schottstaedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0806012227530.8951@ttleush \
    --to=k.s.matheussen@notam02.no \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).