[Xcb] Re: heya

Jeremy Kolb jkolb at brandeis.edu
Sat Apr 23 19:01:25 PDT 2005


Jamey Sharp wrote:
> On Sat, 2005-04-23 at 20:41 -0400, Jeremy Kolb wrote:
> 
>>Okay nevermind, I figured out.  That I had to explicitly use the 
>>namespace when you use both.  I was assuming you could leave it blank 
>>and it would default to the xcb_types space.
>>
>>Now I'm running into the problem where I have:
>><typedef oldname="float" newname="FLOAT32" />
>><typedef oldname="double" newname="FLOAT64" />
>><typedef oldname="CARD32" newname="BOOL32" />
> 
> 
> What's a BOOL32?
> 

I think they use a 32bit boolean for alignment purposes.  GLX really is 
weird.

> 
>>and:
>>     <request name="GetClipPlane" opcode="113">
>>         <field type="CARD32" name="context_tag" />
>>         <field type="INT32" name="plane" />
>>         <reply>
>>             <pad bytes="1" />
>>             <pad bytes="24" />
>>             <list type="FLOAT64" name="equation" />
>>         </reply>
>>     </request>
>>
>>And the header file generated gives:
>>XCBGlxFLOAT64Iter XCBGlxGetClipPlaneEquationIter(XCBGlxGetClipPlaneRep *R);
>>
>>But no XCBGlxFLOAT64Iter is ever generated, so compile fails.  This is 
>>the same with all of the typedefed types.
> 
> 
> Sounds like xcb-client.xsl isn't scanning typedefs in the current file
> to find out whether types are built-in. But that doesn't mean I know how
> to fix it.
> 
> Josh? :-)
> 
> --Jamey
> 
> _______________________________________________
> xcb mailing list
> xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb



More information about the xcb mailing list