[Spice-devel] [PATCH 6/6] common: use INLINE instead of inline
cfergeau at redhat.com
Thu May 12 02:54:52 PDT 2011
On Thu, May 12, 2011 at 12:37:31PM +0300, Arnon Gilboa wrote:
> needed for spice/common files used by the client, server & qxl driver.
> in windows _inline works for both c/c++, while inline is c++ only.
> compiling the client with mixed c/c++ code required this define.
I'd tend to change inline to INLINE in .h files, but to drop the "inline"
altogether when a static inline occurs in a .c file, the compiler should do
a better job than us at picking the functions that needs to be inlined.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: not available
More information about the Spice-devel