Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Unified Diff: lib/compiler/implementation/lib/scalarlist_patch.dart

Issue 10919267: Introduce a VM-only dart:scalarlist library for byte arrays. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move init call for scalarlist lib Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/compiler/implementation/lib/scalarlist.dart ('k') | lib/scalarlist/scalarlist.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/lib/scalarlist_patch.dart
diff --git a/lib/compiler/implementation/lib/scalarlist_patch.dart b/lib/compiler/implementation/lib/scalarlist_patch.dart
new file mode 100644
index 0000000000000000000000000000000000000000..b8df2d4fab94f780c7cfda3283a713bfe22f4dd9
--- /dev/null
+++ b/lib/compiler/implementation/lib/scalarlist_patch.dart
@@ -0,0 +1,118 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+// This is an empty dummy patch file for the VM dart:scalarlist library.
+// This is needed in order to be able to generate documentation for the
+// scalarlist library.
+
+patch class Int8List {
+ patch factory Int8List(int length) {
+ throw new UnsupportedOperationException('Int8List');
+ }
+
+ patch factory Int8List.view(ByteArray array, [int start = 0, int length]) {
+ throw new UnsupportedOperationException('Int8List.view');
+ }
+}
+
+
+patch class Uint8List {
+ patch factory Uint8List(int length) {
+ throw new UnsupportedOperationException('Uint8List');
+ }
+
+ patch factory Uint8List.view(ByteArray array,
+ [int start = 0, int length]) {
+ throw new UnsupportedOperationException('Uint8List.view');
+ }
+}
+
+
+patch class Int16List {
+ patch factory Int16List(int length) {
+ throw new UnsupportedOperationException('Int16List');
+
+ }
+
+ patch factory Int16List.view(ByteArray array, [int start = 0, int length]) {
+ throw new UnsupportedOperationException('Int16List.view');
+ }
+}
+
+
+patch class Uint16List {
+ patch factory Uint16List(int length) {
+ throw new UnsupportedOperationException('Uint16List');
+ }
+
+ patch factory Uint16List.view(ByteArray array, [int start = 0, int length]) {
+ throw new UnsupportedOperationException('Uint16List.view');
+ }
+}
+
+
+patch class Int32List {
+ patch factory Int32List(int length) {
+ throw new UnsupportedOperationException('Int32List');
+ }
+
+ patch factory Int32List.view(ByteArray array, [int start = 0, int length]) {
+ throw new UnsupportedOperationException('Int32List.view');
+ }
+}
+
+
+patch class Uint32List {
+ patch factory Uint32List(int length) {
+ throw new UnsupportedOperationException('Uint32List');
+ }
+
+ patch factory Uint32List.view(ByteArray array, [int start = 0, int length]) {
+ throw new UnsupportedOperationException('Uint32List.view');
+ }
+}
+
+
+patch class Int64List {
+ patch factory Int64List(int length) {
+ throw new UnsupportedOperationException('Int64List');
+ }
+
+ patch factory Int64List.view(ByteArray array, [int start = 0, int length]) {
+ throw new UnsupportedOperationException('Int64List.view');
+ }
+}
+
+
+patch class Uint64List {
+ patch factory Uint64List(int length) {
+ throw new UnsupportedOperationException('Uint64List');
+ }
+
+ patch factory Uint64List.view(ByteArray array, [int start = 0, int length]) {
+ throw new UnsupportedOperationException('Uint64List.view');
+ }
+}
+
+
+patch class Float32List {
+ patch factory Float32List(int length) {
+ throw new UnsupportedOperationException('Float32List');
+ }
+
+ patch factory Float32List.view(ByteArray array, [int start = 0, int length]) {
+ throw new UnsupportedOperationException('Float32List.view');
+ }
+}
+
+
+patch class Float64List {
+ patch factory Float64List(int length) {
+ throw new UnsupportedOperationException('Float64List');
+ }
+
+ patch factory Float64List.view(ByteArray array, [int start = 0, int length]) {
+ throw new UnsupportedOperationException('Float64List.view');
+ }
+}
« no previous file with comments | « lib/compiler/implementation/lib/scalarlist.dart ('k') | lib/scalarlist/scalarlist.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698