[Spice-devel] [PATCH spice-gtk] util: replace SPICE_BYTESWAP16 with GUINT16_SWAP_LE_BE

Christophe Fergeau cfergeau at redhat.com
Thu Jun 15 13:12:30 UTC 2017


On Thu, Jun 15, 2017 at 03:47:32PM +0400, marcandre.lureau at redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau at redhat.com>
> 
> SPICE_BYTESWAP* macros where introduced at a time when spice didn't
> depend on glib (that feels quite long ago). Those macros seem to be
> copied & adapted from glib.
> 
> In any case, that's the only direct user in spice-gtk, we can use the
> glib version instead, so one day SPICE_BYTESWAP* could eventually be
> removed.

For what it's worth, there are more uses in spice-common too, but 
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170615/e85b4c52/attachment.sig>


More information about the Spice-devel mailing list