[Webkit-unassigned] [Bug 70267] New: CodeGeneratorGObject.pm should use g_value_get_uint() for IDL attributes of type unsigned short.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 17 13:36:51 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=70267
Summary: CodeGeneratorGObject.pm should use g_value_get_uint()
for IDL attributes of type unsigned short.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore JavaScript
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: annacc at chromium.org
GetGValueTypeName() in CodeGeneratorGObject converts writable attributes of type unsigned short to g_value_get_ushort(), which is a function that does not exist! I propose changing it to instead generate g_value_get_uint(), which does exist, when it sees this type. I think this is a ligit change because GetGValueTypeName() already converts 'short' to 'int', so converting 'unsigned short' to 'uint' seems reasonable.
For more info and an example, see https://bugs.webkit.org/show_bug.cgi?id=62887
--
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