OLD | NEW |
(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 |
OLD | NEW |