[Webkit-unassigned] [Bug 81221] Expose attack, release as DynamicsCompressorNode's attributes.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 19 12:32:38 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=81221
--- Comment #10 from Chris Rogers <crogers at google.com> 2012-03-19 12:32:37 PST ---
(In reply to comment #9)
> (In reply to comment #8)
> > Kentaro Hara, adding you as possibly somebody who could help with the code generator problem.
> >
> > It seems that CodeGeneratorObjC.pm does not like to deal with JS attributes which are named "release" as in this patch since it somehow conflicts with the Obj-C release method. Do you have a suggestion for an easy fix to the code generator?
>
> You can use [ImplementedAs=releaseFunction]. See https://trac.webkit.org/wiki/WebKitIDL#ImplementedAs
Kentaro, thank you very much for the suggestion. But it appears that [ImplementedAs] is for "methods" and not "attributes". I tried the following:
readonly attribute [ImplementedAs=releaseTime] AudioParam release; // in Seconds
But, [ImplementedAs] was apparently ignored and the glue code continued to call into DynamicsCompressorNode::release() (instead of releaseTime)
Any ideas?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list