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

Re: [MiNT] wide-char and g++



Am 16.04.2013 um 22:13 schrieb Helmut Karlowski:

> Alan Hourihane, 16.04.2013 21:38:57:
> 
>> Right. I have an outstanding patch for wchar.h, I'm just testing it a little more.
> 
> What's that __restrict for? cygwin has it also.
> 
> -- 
> Helmut Karlowski
> 
> 

__restrict is a C99 extension. Basically an optimization hint to the compiler where you promise to not alias this pointer variable (i.e. access it through another, unrelated pointer). That allows better code optimization through caching and better register use.