[Xcb] Re: heya

Jeremy Kolb jkolb at brandeis.edu
Sat Apr 23 17:41:37 PDT 2005


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

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.

Jeremy


More information about the xcb mailing list