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

Issue 490433002: PPAPI: make generator output a pointer to an array correctly. (Closed)

Created:
6 years, 4 months ago by wuchengli
Modified:
6 years, 4 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, tzik, binji+watch_chromium.org, raymes+watch_chromium.org, teravest+watch_chromium.org, nfullagar1, piman+watch_chromium.org, noelallen1, ihf+watch_chromium.org, Pawel Osciak
Project:
chromium
Visibility:
Public.

Description

PPAPI: make generator output a pointer to an array correctly. Originally an IDL argument like "[out] int[] foo" will generate int* foo[]. It means an array of pointers to integers and what we want is a pointer to an array of integers. Change the output to int** foo to be not confusing. BUG=387547 TEST=Run generator and build chrome. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291349

Patch Set 1 #

Total comments: 2

Patch Set 2 : change IDL to pass presubmit check #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -31 lines) Patch
M ppapi/api/private/ppb_camera_capabilities_private.idl View 1 2 chunks +10 lines, -10 lines 0 comments Download
M ppapi/api/private/ppp_flash_browser_operations.idl View 1 1 chunk +1 line, -1 line 0 comments Download
M ppapi/c/private/ppb_camera_capabilities_private.h View 1 3 chunks +13 lines, -13 lines 0 comments Download
M ppapi/c/private/ppp_flash_browser_operations.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M ppapi/generators/idl_c_proto.py View 2 chunks +7 lines, -1 line 0 comments Download
M ppapi/thunk/ppb_camera_capabilities_private_thunk.cc View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
wuchengli
PTAL.
6 years, 4 months ago (2014-08-19 07:40:36 UTC) #1
Justin Chuang
On second thought, I wonder if we can make generator to support: [out] PP_Size* jpeg_sizes); ...
6 years, 4 months ago (2014-08-19 17:31:13 UTC) #2
Justin Chuang
On 2014/08/19 17:31:13, Justin Chuang wrote: > On second thought, I wonder if we can ...
6 years, 4 months ago (2014-08-19 17:33:49 UTC) #3
dmichael (off chromium)
lgtm https://codereview.chromium.org/490433002/diff/1/ppapi/generators/idl_c_proto.py File ppapi/generators/idl_c_proto.py (right): https://codereview.chromium.org/490433002/diff/1/ppapi/generators/idl_c_proto.py#newcode388 ppapi/generators/idl_c_proto.py:388: # type* foo[] means an array of pointers ...
6 years, 4 months ago (2014-08-19 21:43:21 UTC) #4
Justin Chuang
On 2014/08/19 21:43:21, dmichael wrote: > I don't mean to come off as harsh, but ...
6 years, 4 months ago (2014-08-20 01:19:56 UTC) #5
wuchengli
The CQ bit was checked by wuchengli@chromium.org
6 years, 4 months ago (2014-08-20 05:49:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wuchengli@chromium.org/490433002/1
6 years, 4 months ago (2014-08-20 05:50:50 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-20 06:49:10 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-20 06:52:13 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/5423)
6 years, 4 months ago (2014-08-20 06:52:14 UTC) #10
wuchengli
Commit failed because this CL changed C interface but not IDL. To work around it, ...
6 years, 4 months ago (2014-08-22 03:05:14 UTC) #11
wuchengli
The CQ bit was checked by wuchengli@chromium.org
6 years, 4 months ago (2014-08-22 03:20:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wuchengli@chromium.org/490433002/40001
6 years, 4 months ago (2014-08-22 03:21:22 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_tests_recipe on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-22 04:49:18 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-22 05:42:43 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/1283)
6 years, 4 months ago (2014-08-22 05:42:44 UTC) #16
wuchengli
The CQ bit was checked by wuchengli@chromium.org
6 years, 4 months ago (2014-08-22 05:51:07 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wuchengli@chromium.org/490433002/40001
6 years, 4 months ago (2014-08-22 05:51:42 UTC) #18
commit-bot: I haz the power
6 years, 4 months ago (2014-08-22 07:23:21 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (40001) as 291349

Powered by Google App Engine
This is Rietveld 408576698