-ansi, -pedantic warnings and errors on
Robert Shearman
rob at codeweavers.com
Sun Feb 18 06:42:15 CST 2007
Joris Huizer wrote:
> Though the keyword "inline" implies the code should get inlined, and
> if it shouldn't, the implementation copy should be removed from the
> unicode.h file
No, it's a hint to the compiler. "static inline" says to the compiler
try to inline this function if it is worth it, or otherwise include a
copy of this function in the object file. "extern inline" says to the
compiler try to inline this function if it is worth it, or otherwise
link to shared copy of this function (in our case, implemented in the
libwine shared object).
--
Rob Shearman
More information about the wine-devel
mailing list