From: "Kjetil S. Matheussen" <k.s.matheussen@notam02.no>
To: guile-devel@gnu.org
Subject: Re: scm_i_* in Snd
Date: Wed, 04 Jun 2008 00:42:50 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.64.0806040040570.8968@ttleush> (raw)
In-Reply-To: <cmu-lmtpd-30334-1212422819-0@mail-imap1.uio.no>
Clinton Ebadi;
>
> Clinton Ebadi <clinton@unknownlamer.org> writes:
>
>>> Is this okay, and in case not, is there a better way to convert a
>>> char* into a guile string?
>>
>> SCM_API SCM scm_from_locale_string (const char *str);
>> SCM_API SCM scm_from_locale_stringn (const char *str, size_t len);
>> SCM_API SCM scm_take_locale_string (char *str);
>> SCM_API SCM scm_take_locale_stringn (char *str, size_t len);
>
> Err, the other way around
>
> SCM_API char *scm_to_locale_string (SCM str);
> SCM_API char *scm_to_locale_stringn (SCM str, size_t *lenp);
> SCM_API size_t scm_to_locale_stringbuf (SCM str, char *buf, size_t
> max_len);
>
Thanks for both answers. First time you answered my question,
second time you answered what I wanted to know. :-)
next parent reply other threads:[~2008-06-03 22:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cmu-lmtpd-30334-1212422819-0@mail-imap1.uio.no>
2008-06-03 22:42 ` Kjetil S. Matheussen [this message]
[not found] <cmu-lmtpd-11096-1212351961-0@mail-imap1.uio.no>
2008-06-01 20:31 ` scm_i_* in Snd Kjetil S. Matheussen
2008-06-01 20:55 ` 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
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.0806040040570.8968@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).