On Sun, Apr 20, 2014 at 5:41 PM, Thiago Macieira <thi...@kde.org> wrote:
> Em dom 20 abr 2014, às 17:31:48, Jason Ekstrand escreveu: > > Adding 64-bit types wouldn't be too hard. It would involve adding a > > int64_t an uint64_t types to wl_argument (I'd call them U and I > personally) > > and adding code throughout libwayland to parse them. In terms of > backwards > > compatibility, it should be fine as long as you make it 100% clear that > > your new protocol extension uses the new 64bit types and therefore > requires > > the newer libwayland version. > > That changes the size and alignment of wl_argument on 32-bit platforms. No > can > do until libwayland 2.0, with a binary compatibility break. > Yeah, you're right. Thanks for catching that. In retrospect, I should have put a 64 bit place-holder in the union when it was first added to ensure that it was 64 bits on both platforms. But, like you said, can't change it now. --Jason > > -- > Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org > Software Architect - Intel Open Source Technology Center > PGP/GPG: 0x6EF45358; fingerprint: > E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 > > _______________________________________________ > wayland-devel mailing list > wayland-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/wayland-devel >
_______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel