[Xcb] [proto] sync:int64 and int64 difference in sync.xml
Christian Linhart
chris at DemoRecorder.com
Sun Feb 15 01:41:22 PST 2015
Hi Asalle,
The datatype is INT64 (note the uppercase).
The prefix "sync:" is an import qualifier.
I.e. this means that it uses the struct INT64 which is defined in sync.xml.
Therefore the structure is just called "INT64", and that's ok.
Your code will not need to do anything special with that.
"xcb/proto/xcbgen" will handle that for you.
I hope this helps.
Best regards,
Chris
On 02/14/15 21:06, Asal Mirzaieva wrote:
> Hi all,
>
> I am currently working on swapping and size-checking functions generator.
> Processing the sync.xml I observed, that a lot of requests contain fields of type "sync:int64", while it is not declared as a structure or anything else. I found a similar struct called "int64" and, according to this letter <http://lists.x.org/archives/xorg-devel/2013-November/038669.html> it should be called "sync:int64".
> Is there any mistake? Why not to use just int64?
>
> Best regards,
> Asalle
>
>
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
More information about the Xcb
mailing list