emacs-devel
[Top][All Lists]
Advanced

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

Re: Compiling Elisp to a native code with a GCC plugin


From: Eli Zaretskii
Subject: Re: Compiling Elisp to a native code with a GCC plugin
Date: Sat, 18 Sep 2010 17:46:46 +0200

> From: "Stephen J. Turnbull" <address@hidden>
> Cc: address@hidden,
>     address@hidden
> Date: Sat, 18 Sep 2010 23:19:11 +0900
> 
>  > > (defun string-byte-count (s)
>  > >   (length (if (string-multibyte-p s) (encode-coding-string s
>  > >   'utf-8) s)))
>  > 
>  > See above: this is not accurate.
> 
> I don't understand what "above" you're referring to.

The definition of STRING_SET_UNIBYTE.

> Unless maybe you mean because in unibyte strings the byte count is
> negative?

Yes.



reply via email to

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