guile-user
[Top][All Lists]
Advanced

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

Re: SCM_LENGTH ???


From: Marius Vollmer
Subject: Re: SCM_LENGTH ???
Date: Tue, 11 Jan 2005 19:08:41 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Bruce Korb <address@hidden> writes:

> On Monday 10 January 2005 09:26 am, Marius Vollmer wrote:
>
>> The recommended way to check for deprecated features is to compile a
>> version of Guile with --disable-deprecated and compile/link/test
>> against that.
>
> That's a cute idea.  I like it!  I confess, I don't remember it from the last
> time I went through the Guile docs.  When was that?  '99 or '98?
> Have the docs changed much since then?  ;-)

Yes!

>> [...]
> However, it is a bit premature to use scm_c_*_length functions since
> 1.7.x is a test release series and 1.8 is not available.

Yes, you are right.  The recommended way in 1.6 is to use
SCM_STRING_LENGTH, for example.  It _is_ annoying to have to switch
away from SCM_STRING_LENGTH in 1.8 again, I have to agree to that.
(The reason for this is that 1.8 wants you to move away from making
assumptions about the internals of strings so that we can switch more
easily to Unicode later.)

> To me, this still feels like grubbing around in internals and I do wish
> you all were willing to supply something that approximates it.
> I loathe having this in my code:

Ugh, the ports API is still this ugly...




reply via email to

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