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

Side by Side Diff: client/dom/generated/src/frog/Float32Array.dart

Issue 8969013: Fix generator to be consistent with http://code.google.com/p/dart/source/detail?r=2505 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | client/dom/generated/src/frog/Float64Array.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 class Float32Array extends ArrayBufferView implements List<num> native "Float32A rray" { 2 class Float32Array extends ArrayBufferView implements List<num> native "*Float32 Array" {
3 3
4 factory Float32Array(int length) => _construct(length); 4 factory Float32Array(int length) => _construct(length);
5 5
6 factory Float32Array.fromList(List<num> list) => _construct(list); 6 factory Float32Array.fromList(List<num> list) => _construct(list);
7 7
8 factory Float32Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer); 8 factory Float32Array.fromBuffer(ArrayBuffer buffer) => _construct(buffer);
9 9
10 static _construct(arg) native 'return new Float32Array(arg);'; 10 static _construct(arg) native 'return new Float32Array(arg);';
11 11
12 static final int BYTES_PER_ELEMENT = 4; 12 static final int BYTES_PER_ELEMENT = 4;
13 13
14 int length; 14 int length;
15 15
16 num operator[](int index) native; 16 num operator[](int index) native;
17 17
18 void operator[]=(int index, num value) native; 18 void operator[]=(int index, num value) native;
19 19
20 Float32Array subarray(int start, [int end = null]) native; 20 Float32Array subarray(int start, [int end = null]) native;
21 } 21 }
OLDNEW
« no previous file with comments | « no previous file | client/dom/generated/src/frog/Float64Array.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698