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

Brian Barnes ggadwa at charter.net
Mon Jul 20 15:51:14 PDT 2009


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