OLD | NEW |
1 # Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> | 1 # Copyright (C) 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> |
2 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com> | 2 # Copyright (C) 2006 Anders Carlsson <andersca@mac.com> |
3 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 # Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
4 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org> | 4 # Copyright (C) 2006 Alexey Proskuryakov <ap@webkit.org> |
5 # Copyright (C) 2006 Apple Computer, Inc. | 5 # Copyright (C) 2006 Apple Computer, Inc. |
6 # Copyright (C) 2007, 2008, 2009, 2012 Google Inc. | 6 # Copyright (C) 2007, 2008, 2009, 2012 Google Inc. |
7 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 7 # Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
8 # Copyright (C) Research In Motion Limited 2010. All rights reserved. | 8 # Copyright (C) Research In Motion Limited 2010. All rights reserved. |
9 # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 # Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
10 # Copyright (C) 2012 Ericsson AB. All rights reserved. | 10 # Copyright (C) 2012 Ericsson AB. All rights reserved. |
(...skipping 5612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5623 | 5623 |
5624 if ($type eq "XPathNSResolver") { | 5624 if ($type eq "XPathNSResolver") { |
5625 return "toXPathNSResolver($value, $getIsolate)"; | 5625 return "toXPathNSResolver($value, $getIsolate)"; |
5626 } | 5626 } |
5627 | 5627 |
5628 my $arrayOrSequenceType = GetArrayOrSequenceType($type); | 5628 my $arrayOrSequenceType = GetArrayOrSequenceType($type); |
5629 | 5629 |
5630 if ($arrayOrSequenceType) { | 5630 if ($arrayOrSequenceType) { |
5631 if (IsWillBeGarbageCollectedType($arrayOrSequenceType)) { | 5631 if (IsWillBeGarbageCollectedType($arrayOrSequenceType)) { |
5632 AddToImplIncludes("V8${arrayOrSequenceType}.h"); | 5632 AddToImplIncludes("V8${arrayOrSequenceType}.h"); |
5633 return "(toRefPtrWillBeMemberNativeArray<${arrayOrSequenceType}, V8$
{arrayOrSequenceType}>($value, $argIndexOrZero, $getIsolate))"; | 5633 return "(toRefPtrNativeArray<${arrayOrSequenceType}, V8${arrayOrSequ
enceType}>($value, $argIndexOrZero, $getIsolate))"; |
5634 } | 5634 } |
5635 if (IsRefPtrType($arrayOrSequenceType)) { | 5635 if (IsRefPtrType($arrayOrSequenceType)) { |
5636 AddToImplIncludes("V8${arrayOrSequenceType}.h"); | 5636 AddToImplIncludes("V8${arrayOrSequenceType}.h"); |
5637 return "(toRefPtrNativeArray<${arrayOrSequenceType}, V8${arrayOrSequ
enceType}>($value, $argIndexOrZero, $getIsolate))"; | 5637 return "(toRefPtrNativeArray<${arrayOrSequenceType}, V8${arrayOrSequ
enceType}>($value, $argIndexOrZero, $getIsolate))"; |
5638 } | 5638 } |
5639 return "toNativeArray<" . GetNativeType($arrayOrSequenceType) . ">($valu
e, $argIndexOrZero, $getIsolate)"; | 5639 return "toNativeArray<" . GetNativeType($arrayOrSequenceType) . ">($valu
e, $argIndexOrZero, $getIsolate)"; |
5640 } | 5640 } |
5641 | 5641 |
5642 AddIncludesForType($type); | 5642 AddIncludesForType($type); |
5643 | 5643 |
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6475 if ($parameter->type eq "SerializedScriptValue") { | 6475 if ($parameter->type eq "SerializedScriptValue") { |
6476 return 1; | 6476 return 1; |
6477 } elsif (IsIntegerType($parameter->type)) { | 6477 } elsif (IsIntegerType($parameter->type)) { |
6478 return 1; | 6478 return 1; |
6479 } | 6479 } |
6480 } | 6480 } |
6481 return 0; | 6481 return 0; |
6482 } | 6482 } |
6483 | 6483 |
6484 1; | 6484 1; |
OLD | NEW |