| Index: ppapi/tests/test_struct_sizes_cpp.cc
|
| ===================================================================
|
| --- ppapi/tests/test_struct_sizes_cpp.cc (revision 0)
|
| +++ ppapi/tests/test_struct_sizes_cpp.cc (revision 0)
|
| @@ -0,0 +1,16 @@
|
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +//
|
| +// This test ensures (at compile time) that each type has the expected size in
|
| +// C++. The purpose is to ensure that the ABI of PPAPI is known, consistent,
|
| +// and stable. If the size of one of these types changes, then it is necessary
|
| +// to change the version of any interfaces that rely on the changed type(s).
|
| +//
|
| +// See all_c_sizes.h for the actual structs and their sizes. It is separated so
|
| +// we can share the header between C and C++ to ensure the sizes are consistent
|
| +// across both languages. See test_struct_sizes_c.c for the C version of this
|
| +// test.
|
| +
|
| +#include "ppapi/tests/all_c_sizes.h"
|
| +
|
|
|
| Property changes on: ppapi/tests/test_struct_sizes_cpp.cc
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|