help: is there any way to use integer 64 type in protocol?

Thiago Macieira thiago at kde.org
Sun Apr 20 15:41:13 PDT 2014


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.

-- 
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



More information about the wayland-devel mailing list