[Xcb] Re: heya

Jamey Sharp jamey at minilop.net
Sat Apr 23 18:51:05 PDT 2005


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?

> 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



More information about the xcb mailing list