[Spice-devel] [PATCH spice-server v4 2/3] red-channel: Separate RedChannelCapabilities
Christophe Fergeau
cfergeau at redhat.com
Thu Mar 2 15:04:14 UTC 2017
On Thu, Mar 02, 2017 at 09:55:46AM -0500, Frediano Ziglio wrote:
> > > +/* GObject type that can be used to box RedChannelCapabilities */
> > > +extern GType red_channel_capabilities_type;
> > > +#define TYPE_RED_CHANNEL_CAPABILITIES red_channel_capabilities_type
> >
> > RED_TYPE_CHANNEL_CAPABILITIES, similarly to RED_TYPE_CHANNEL,
> > RED_TYPE_CHANNEL_CLIENT, ...
> >
>
> If you do some grep the TYPE_xxx win (not much).
But there are 0 TYPE_RED_xxx.
The scheme really is
$NAMESPACE_TYPE_$TYPENAME, if NAMESPACE is empty, then TYPE_$TYPENAME
We don't use TYPE_$NAMESPACE_$TYPENAME
Christophe
-------------- 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/20170302/2e3fb77f/attachment.sig>
More information about the Spice-devel
mailing list