Re: [PATCH spice-server v2] Remove core_public and core_interface_adapter globals usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2016-11-15 at 10:34 +0000, Frediano Ziglio wrote:
> +    void (*channel_event)(const SpiceCoreInterfaceInternal *iface,
> int event, SpiceChannelEventInfo *info);
> +
> +    /* Implementation data.
> +     * Usually these fields are is implemented subclassing the
> object and
> +     * adding new fields, in this case the choices are limited and
> both
> +     * pointers so use an union to store all possible values.
> +     */
> +    union {
> +        GMainContext *main_context;
> +        SpiceCoreInterface *public_interface;
> +    };
>  };


see my comments/proposal that I just sent on the previous email thread.

Jonathon
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]