Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How ANSI can we assume C?



On Wednesday 23 February 2005 12:23, Andrey Borzenkov wrote:
> As long as widechar support remains conditional, defining wide/non-wide
> versions really becomes nightmare.
>
> Specifically I'd like simply use
>
> #define ZWC(c) L ## c (or even L ## 'c')
                        ^^^^^^^^^^^^^^^^^ nope, bad idea
>
> and use it everyhere. It is much easier to use than inventing obscure names
> for characters.
>

And it also allows wide strings in place which is fast impossible otherwise 
without tons of ifdef



Messages sorted by: Reverse Date, Date, Thread, Author