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

Issue 174393004: Add Dart_GetNativeFieldsOfArgument to get all the native fields of a dart (Closed)

Created:
6 years, 10 months ago by siva
Modified:
6 years, 10 months ago
Reviewers:
vsm, rmacnak
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Add Dart_GetNativeFieldsOfArgument to get all the native fields of a dart object. This is especially useful for dartium which has two native fields the type id and the native implementation field for the wrapper. This allows for both values to be extracted in one call. R=vsm@google.com Committed: https://code.google.com/p/dart/source/detail?r=32905

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -25 lines) Patch
M runtime/include/dart_api.h View 1 chunk +15 lines, -5 lines 2 comments Download
M runtime/vm/dart_api_impl.cc View 2 chunks +23 lines, -18 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 chunk +81 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 3 chunks +28 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
siva
6 years, 10 months ago (2014-02-21 00:08:59 UTC) #1
vsm
lgtm https://codereview.chromium.org/174393004/diff/1/runtime/include/dart_api.h File runtime/include/dart_api.h (right): https://codereview.chromium.org/174393004/diff/1/runtime/include/dart_api.h#newcode2100 runtime/include/dart_api.h:2100: * returnds an error handle. On success the ...
6 years, 10 months ago (2014-02-21 16:19:04 UTC) #2
siva
Committed patchset #1 manually as r32905 (presubmit successful).
6 years, 10 months ago (2014-02-21 16:53:27 UTC) #3
siva
6 years, 10 months ago (2014-02-21 19:01:09 UTC) #4
Message was sent while issue was closed.
https://codereview.chromium.org/174393004/diff/1/runtime/include/dart_api.h
File runtime/include/dart_api.h (right):

https://codereview.chromium.org/174393004/diff/1/runtime/include/dart_api.h#n...
runtime/include/dart_api.h:2100: *   returnds an error handle. On success the
native field values are copied
On 2014/02/21 16:19:04, vsm wrote:
> returnds -> returns

Done.

Powered by Google App Engine
This is Rietveld 408576698