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

Side by Side Diff: ppapi/tests/test_struct_sizes_cpp.cc

Issue 5340003: Make a new test to enforce the sizes of all structs and enums in the C API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/tests/test_struct_sizes_c.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 //
5 // This test ensures (at compile time) that each type has the expected size in
6 // C++. The purpose is to ensure that the ABI of PPAPI is known, consistent,
7 // and stable. If the size of one of these types changes, then it is necessary
8 // to change the version of any interfaces that rely on the changed type(s).
9 //
10 // See all_c_sizes.h for the actual structs and their sizes. It is separated so
11 // we can share the header between C and C++ to ensure the sizes are consistent
12 // across both languages. See test_struct_sizes_c.c for the C version of this
13 // test.
14
15 #include "ppapi/tests/all_c_sizes.h"
16
OLDNEW
« no previous file with comments | « ppapi/tests/test_struct_sizes_c.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698