|
Make PPAPI headers compile with C compilers (gcc on Linux & Mac and MSVS on Windows). This includes changing bool to PP_Bool and adding a PP_INLINE macro.
TEST=tests/test_c_includes.c
BUG= 59791, 53451
The first patch set is a straight copy of http://codereview.chromium.org/4019010/show which got LGTMed when PPAPI was in its own repo, but had to be rolled back in order to include chrome changes.
IMPORTANT: This change will break plugin implementations that use the C interface, and might break others as well.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65200
Total comments: 22
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1150 lines, -735 lines) |
Patch |
 |
A |
ppapi/c/dev/deprecated_bool.h
|
View
|
4
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/pp_video_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_audio_config_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_audio_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_buffer_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_char_set_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_cursor_control_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_directory_reader_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_file_chooser_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_file_io_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_file_ref_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_find_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_font_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
6 chunks |
+28 lines, -26 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_fullscreen_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_graphics_3d_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
6 chunks |
+15 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_scrollbar_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_testing_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_transport_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_url_loader_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+16 lines, -15 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_url_request_info_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+26 lines, -22 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_url_response_info_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_url_util_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_var_deprecated.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_video_decoder_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+16 lines, -15 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_widget_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+14 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppp_class_deprecated.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppp_find_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppp_printing_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppp_scrollbar_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppp_selection_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppp_zoom_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
A |
ppapi/c/pp_bool.h
|
View
|
4
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/pp_completion_callback.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/pp_input_event.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
ppapi/c/pp_macros.h
|
View
|
4
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/pp_point.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/c/pp_rect.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/pp_size.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/c/pp_var.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+13 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/ppb_class.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/ppb_core.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/ppb_graphics_2d.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/ppb_image_data.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+14 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/ppb_instance.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/ppb_var.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
10 chunks |
+30 lines, -26 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/ppp_instance.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
6 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
 |
A |
ppapi/cpp/common.h
|
View
|
4
5
6
7
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/core.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/cpp/dev/file_ref_dev.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/dev/find_dev.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+12 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/dev/font_dev.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/dev/font_dev.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+12 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/dev/fullscreen_dev.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/dev/graphics_3d_dev.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+17 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/dev/scrollbar_dev.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/cpp/dev/selection_dev.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/dev/url_loader_dev.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/dev/url_request_info_dev.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+19 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/dev/url_util_dev.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/dev/video_decoder_dev.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/dev/widget_dev.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/dev/zoom_dev.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/graphics_2d.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/cpp/image_data.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/cpp/instance.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/module.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/module.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+21 lines, -19 lines |
0 comments
|
Download
|
 |
M |
ppapi/cpp/var.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/examples/2d/graphics_2d_example.c
|
View
|
1
2
3
4
5
6
7
8
9
10
|
7 chunks |
+44 lines, -54 lines |
0 comments
|
Download
|
 |
M |
ppapi/ppapi.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
6 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
A |
ppapi/tests/test_c_includes.c
|
View
|
4
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_graphics_2d.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_image_data.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_var_deprecated.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_audio.h
|
View
|
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_audio.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
4 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_buffer.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
A |
webkit/glue/plugins/pepper_common.h
|
View
|
5
6
7
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_cursor_control.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
2 chunks |
+17 lines, -16 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_directory_reader.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_event_conversion.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_file_chooser.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_file_io.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_file_ref.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_font.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
5 chunks |
+17 lines, -15 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_graphics_2d.h
|
View
|
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_graphics_2d.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
3 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_graphics_3d.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
4 chunks |
+15 lines, -14 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_image_data.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
2 chunks |
+14 lines, -9 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_plugin_instance.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
12 chunks |
+44 lines, -31 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_plugin_module.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_scrollbar.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_transport.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_url_loader.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
3 chunks |
+15 lines, -12 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_url_request_info.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
4 chunks |
+32 lines, -24 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_url_response_info.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_url_util.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
2 chunks |
+14 lines, -13 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_var.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
7 chunks |
+38 lines, -22 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_video_decoder.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
6 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/pepper_widget.cc
|
View
|
2
3
4
5
6
7
8
9
10
|
2 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|