Changeset 155778 in webkit
- Timestamp:
- Sep 14, 2013 12:21:01 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r155777 r155778 1 2013-09-14 Alberto Garcia <berto@igalia.com> 2 3 Missing allow-none introspection annotation for DomDocument.evaluate method 4 https://bugs.webkit.org/show_bug.cgi?id=118310 5 6 Reviewed by Martin Robinson. 7 8 Add (allow-none) introspection annotation to parameters that can 9 be NULL. 10 11 * bindings/scripts/CodeGeneratorGObject.pm: 12 (GenerateFunction): 13 1 14 2013-09-14 Sam Weinig <sam@webkit.org> 2 15 -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm
r155435 r155778 940 940 $paramType =~ s/\*$//; 941 941 my $paramName = $param->name; 942 push(@hBody, " * \@${paramName}: A #${paramType}\n"); 942 my $paramAnnotations = ""; 943 if (ParamCanBeNull($functionName, $paramName)) { 944 $paramAnnotations = " (allow-none):"; 945 } 946 push(@hBody, " * \@${paramName}:${paramAnnotations} A #${paramType}\n"); 943 947 } 944 948 push(@hBody, " * \@error: #GError\n") if $raisesException;
Note: See TracChangeset
for help on using the changeset viewer.