[Xcb] ecore and xcb: looking for advices.

Vincent Torri vtorri at univ-evry.fr
Wed Mar 7 22:41:50 PST 2007


>>>   /* added functions: we free the replies */
>>>   ecore_x_pointer_xy_get_free(win);
>>>   ecore_x_atom_get_free(atom);
>> 
>> I don't think these would be necessary. Request cleanup would happen when 
>> you get the results.  It might mean a little extra copying if you return 
>> pointers directly into replys.

Finally, I think that I'll add a _free method, because ecore_x api does 
not always return all the data of a reply. That also means that I'll add a 
_fetch function that will store the reply. The ecore_x api will mainly get 
the data of the reply.

Vincent


More information about the Xcb mailing list