[Spice-devel] [PATCH 6/6] common: use INLINE instead of inline
Christophe Fergeau
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.
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110512/a69694a8/attachment.pgp>
More information about the Spice-devel
mailing list