[PATCH wayland 4/7 v3] Add support for custom dispatchers
Solerman Kaplon
solerman at gmail.com
Thu Feb 21 03:41:23 PST 2013
Em 21-02-2013 04:44, Pekka Paalanen escreveu:
This shouldn't be a problem as it's not crossing a dynamic linking boundary.
> Let's bump the complexity: add a libfeature to the mix, providing
> another protocol extension. The app is now using interfaces from
> libwayland and libfeature. Let's assume:
> - libwayland is built with struct version 1
> - libfeature is built with struct version 1
> - the app is built with struct version 0
>
> If the app does a copy of the libfeature globals according to struct
> version 0, the extended fields are missing, but the struct version
> field is still 1. Kaboom?
>
Add a size field so one always know how much copy to do?
Solerman
More information about the wayland-devel
mailing list