Bruce Korb <[EMAIL PROTECTED]> writes:

> Here's the deal:  I just want access to the array of characters.

OK, for this you should use scm_to_locale_string().

>  I am completely aware of
> the fact that any call to any Guile function can invalidate an
> address gotten via this mechanism.  However, with a single threaded
> program and without making such a call, I know the address will
> remain valid.  I want it.  It saves a lot of allocate, copy & free
> bother.  Thank you!  Regards, bruce

But please note that the main reason for the new API is the need to
handle character encoding, in particular future Unicode support.  See
the "Conversion to/from C" node in the manual for a bit more on this.

Regards,
     Neil



_______________________________________________
Guile-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to