[vlc-devel] [PATCH 2/3] core: add a new type of callback for list variables

Felix Abecassis felix.abecassis at gmail.com
Thu Jul 24 19:49:31 CEST 2014


Le 24 juil. 2014 19:46, "Rémi Denis-Courmont" <remi at remlab.net> a écrit :
>
> Le jeudi 24 juillet 2014, 19:40:35 Felix Abecassis a écrit :
> > - Keep the enumeration for callback type and make the pointer
> > pf_callback a void* in callback_entry_t.
>
> An union may be cleaner and easier, but yes.
>

Thank you.

> > We can now reuse the new handler functions AddCallback and DelCallback
> > with just a dispatch to the correct callback table for adding/removing
> > depending on the type.
> > Same for TriggerCallback().
> >
> > > --
> > > Rémi Denis-Courmont
> > >
> > > _______________________________________________
> > > vlc-devel mailing list
> > > To unsubscribe or modify your subscription options:
> > > https://mailman.videolan.org/listinfo/vlc-devel
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140724/80f5e7cb/attachment.html>


More information about the vlc-devel mailing list