WININET: make WCHAR strings const where possible
Shachar Shemesh
wine-devel at shemesh.biz
Tue Apr 13 16:42:54 CDT 2004
Michael Stefaniuc wrote:
>Afaik, if it's const it should be somewhere in the .bss and therefor it
>shouldn't be allocated on the stack on function entry.
>
>bye
> michael
>
>
That MAY be true for C++. It is defenitely not true for C. In C, const
just means it's the same ol' var, only it can't be changed.
const is a pretty late addition to C, and actually got there from C++.
--
Shachar Shemesh
Lingnu Open Source Consulting
http://www.lingnu.com/
More information about the wine-devel
mailing list