[Webkit-unassigned] [Bug 84540] JS binding code generator doesn't handle "attribute unsigned long[]" well

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 24 00:49:46 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=84540





--- Comment #19 from Vineet Chaudhary (vineetc) <rgf748 at motorola.com>  2012-04-24 00:49:45 PST ---
(In reply to comment #17)
> I still can't compile:
Sorry Ryosuke this didn't worked. :(

> /Users/rniwa/webkit2/Source/WebCore/bindings/js/JSDOMBinding.h: In function ‘JSC::JSValue WebCore::jsArray(JSC::ExecState*, WebCore::JSDOMGlobalObject*, const WTF::Vector<Value, 0ul>&) [with T = unsigned int]’:
> /Users/rniwa/webkit2/WebKitBuild/Release/DerivedSources/WebCore/JSInternals.cpp:224:   instantiated from here
> /Users/rniwa/webkit2/Source/WebCore/bindings/js/JSDOMBinding.h:289: error: no matching function for call to ‘getPtr(const unsigned int&)’

> WTF::getPtr isn't defined for unsigned int :(

Should it be defined? or else we need to add another type for "unsigned int" as we did for String in JSDOMbindings.h like
template<>
    inline JSC::JSValue jsArray(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, const Vector<unsigned int>& iterator) { ... }

-- 
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