[Spice-devel] [PATCH 6/6] common: use INLINE instead of inline
Arnon Gilboa
agilboa at redhat.com
Thu May 12 04:56:45 PDT 2011
Christophe Fergeau wrote:
> 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.
>
> Christophe
>
what's the diff between the two cases with regards to inlining?
More information about the Spice-devel
mailing list