[HarfBuzz] hb_blob_get_user_data() ?

Jonathan Kew jonathan at jfkew.plus.com
Mon Nov 22 06:36:17 PST 2010


On 17 Nov 2010, at 20:33, Behdad Esfahbod wrote:

> On 11/16/10 16:22, Jonathan Kew wrote:
>> Hi Behdad,
>> 
>> Would you have any objection to adding an API to let the client retrieve the user_data from a blob? Karl's proposed patch to do this is here:
> 
> Hi Jonathan,
> 
> I'm hesitant to add that.  How about generic set_user_data/get_user_data()
> like cairo has?  That would be needed down the road for language bindings.
> 
> behdad

At this point, that sounds over-engineered to me. All we're asking for here is the ability to retrieve the user_data value that was passed to the blob during construction (and which will eventually be passed to its destroy_func callback).

JK




More information about the HarfBuzz mailing list