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

Issue 11362009: New APIs for external byte arrays (Closed)

Created:
8 years, 1 month ago by Søren Gjesse
Modified:
8 years, 1 month ago
Reviewers:
cshapiro
CC:
reviews_dartlang.org
Visibility:
Public.

Description

New APIs for external byte arrays The following APIs have been added: Dart_IsExternalByteArray: Check whether an object is an external byte array. Dart_ExternalByteArrayGetData: Return the pointer to the external data hosted by the external byte array. R=cshapiro@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=14380

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -2 lines) Patch
M runtime/include/dart_api.h View 1 2 chunks +14 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 3 chunks +22 lines, -2 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/raw_object.h View 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Søren Gjesse
I am not quite sure about the handling of external arrays of type other than ...
8 years, 1 month ago (2012-10-31 12:56:56 UTC) #1
cshapiro
LGTM with comments. Please make corrections before submitting. In the future there will be separate ...
8 years, 1 month ago (2012-11-01 00:36:35 UTC) #2
cshapiro
not sure why this didn't take the first time... http://codereview.chromium.org/11362009/diff/1/runtime/include/dart_api.h File runtime/include/dart_api.h (right): http://codereview.chromium.org/11362009/diff/1/runtime/include/dart_api.h#newcode1623 runtime/include/dart_api.h:1623: ...
8 years, 1 month ago (2012-11-01 00:40:19 UTC) #3
Søren Gjesse
http://codereview.chromium.org/11362009/diff/1/runtime/include/dart_api.h File runtime/include/dart_api.h (right): http://codereview.chromium.org/11362009/diff/1/runtime/include/dart_api.h#newcode1623 runtime/include/dart_api.h:1623: On 2012/11/01 00:40:19, cshapiro wrote: > Remove this line. ...
8 years, 1 month ago (2012-11-01 07:46:03 UTC) #4
Søren Gjesse
8 years, 1 month ago (2012-11-01 07:52:13 UTC) #5
Thanks for the review - sorry for the white space mess.

Powered by Google App Engine
This is Rietveld 408576698