[webkit-dev] JS: Getter/Setter callbacks at Property level

Geoffrey Garen ggaren at apple.com
Wed Jul 22 22:26:48 PDT 2009


Sure!

Geoff

On Jul 20, 2009, at 3:51 PM, Brian Barnes wrote:

> What should be my next step, here?  Submit a "bug" for this?
>
> [>] Brian
>
> On Jul 20, 2009, at 6:05 PM, Geoffrey Garen wrote:
>
>>> How about separate call backs at the class level?  That would  
>>> solve my problem with minimal code movement.  Something like:
>>>
>>> JSClassSetPropertyGetterSetter 
>>> (ctx,class,"red",myRedGetter,myRedSetter);
>>>
>>> Would that be more within the design?
>>
>> Yes. That's what I had in mind when I mentioned "an API for adding  
>> C getters and setters to a class individually."
>>
>> Geoff
>>
>



More information about the webkit-dev mailing list