|
Add support for more typed data types on native ports
Renamed the kUint8Array type for a Dart_CObject structure to
kByteArray to support all typed data types. The specific type is
stored in a separate type field. No matter what the specific type is,
the length of the byte array is always in bytes.
R=ager@google.com
BUG=
Committed: https://code.google.com/p/dart/source/detail?r=21423
Total comments: 8
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+515 lines, -119 lines) |
Patch |
|
M |
runtime/bin/dartutils.h
|
View
|
1
|
5 chunks |
+70 lines, -11 lines |
4 comments
|
Download
|
|
M |
runtime/bin/dartutils.cc
|
View
|
1
|
3 chunks |
+14 lines, -12 lines |
0 comments
|
Download
|
|
M |
runtime/bin/file.cc
|
View
|
1
|
5 chunks |
+25 lines, -7 lines |
0 comments
|
Download
|
|
M |
runtime/include/dart_api.h
|
View
|
1
|
3 chunks |
+20 lines, -4 lines |
1 comment
|
Download
|
|
M |
runtime/vm/dart_api_message.h
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/dart_api_message.cc
|
View
|
1
|
6 chunks |
+140 lines, -42 lines |
2 comments
|
Download
|
|
M |
runtime/vm/snapshot_test.cc
|
View
|
1
|
8 chunks |
+149 lines, -41 lines |
0 comments
|
Download
|
|
M |
sdk/lib/io/common.dart
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/standalone/io/file_typed_data_test.dart
|
View
|
|
2 chunks |
+92 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|