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

Issue 1086743002: Support pointers in the NaCl bindings generator. (Closed)

Created:
5 years, 8 months ago by Nick Bray (chromium)
Modified:
5 years, 8 months ago
Reviewers:
vtl, viettrungluu
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Support pointers in the NaCl bindings generator. Previously the generator assumed any Mojo interface with a pointer argument was broken. Going forward, we'll be bringing up these interfaces one at a time, so explicitly mark interfaces as broken rather than infering from the arguments. BUG=401761 R=viettrungluu@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/ed1b03fbbb457def1e39b2dea4e020299ad315b1

Patch Set 1 #

Total comments: 5

Patch Set 2 : Tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -11 lines) Patch
M nacl_bindings/mojo_syscall_internal.h View 1 5 chunks +68 lines, -0 lines 0 comments Download
M nacl_bindings_generator/generate_nacl_bindings.py View 4 chunks +50 lines, -11 lines 0 comments Download
M nacl_bindings_generator/interface.py View 1 3 chunks +12 lines, -0 lines 0 comments Download
M nacl_bindings_generator/interface_dsl.py View 5 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Nick Bray (chromium)
As warned, this CL is a little awkward, but I am unsure how to cut ...
5 years, 8 months ago (2015-04-13 19:52:22 UTC) #2
viettrungluu
LGTM w/nits https://codereview.chromium.org/1086743002/diff/1/nacl_bindings/mojo_syscall_internal.h File nacl_bindings/mojo_syscall_internal.h (right): https://codereview.chromium.org/1086743002/diff/1/nacl_bindings/mojo_syscall_internal.h#newcode54 nacl_bindings/mojo_syscall_internal.h:54: bool ConvertPointerInput(struct NaClApp* nap, uint32_t user_ptr, T** ...
5 years, 8 months ago (2015-04-13 20:09:42 UTC) #4
Nick Bray (chromium)
https://codereview.chromium.org/1086743002/diff/1/nacl_bindings/mojo_syscall_internal.h File nacl_bindings/mojo_syscall_internal.h (right): https://codereview.chromium.org/1086743002/diff/1/nacl_bindings/mojo_syscall_internal.h#newcode54 nacl_bindings/mojo_syscall_internal.h:54: bool ConvertPointerInput(struct NaClApp* nap, uint32_t user_ptr, T** value) { ...
5 years, 8 months ago (2015-04-13 21:13:52 UTC) #5
Nick Bray (chromium)
5 years, 8 months ago (2015-04-13 21:23:02 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
ed1b03fbbb457def1e39b2dea4e020299ad315b1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698