Index: ppapi/tests/arch_dependent_sizes_64.h |
=================================================================== |
--- ppapi/tests/arch_dependent_sizes_64.h (revision 0) |
+++ ppapi/tests/arch_dependent_sizes_64.h (revision 0) |
@@ -0,0 +1,31 @@ |
+/* 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 file has compile assertions for the sizes of types that are dependent |
+ * on the architecture for which they are compiled (i.e., 32-bit vs 64-bit). |
+ */ |
+ |
+#ifndef PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_ |
+#define PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_ |
+ |
+#include "ppapi/tests/test_struct_sizes.c" |
+ |
+PP_COMPILE_ASSERT_SIZE_IN_BYTES(GLintptr, 8); |
+PP_COMPILE_ASSERT_SIZE_IN_BYTES(GLsizeiptr, 8); |
+PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_ClassDestructor, 8); |
+PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_ClassFunction, 8); |
+PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_CompletionCallback_Func, 8); |
+PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLLoaderTrusted_StatusCallback, 8); |
+PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoConfig_Dev, 8); |
+PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecodeEventHandler_Func_Dev, 8); |
+PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecodeInputCallback_Func_Dev, 8); |
+PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecodeOutputCallback_Func_Dev, 8); |
+PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_ClassProperty, 40); |
+PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_CompletionCallback, 16); |
+PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_FileChooserOptions_Dev, 16); |
+PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_VideoDecoderConfig_Dev, 40); |
+PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_VideoFrameBuffer_Dev, 120); |
+PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_VideoUncompressedDataBuffer_Dev, 152); |
+ |
+#endif /* PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_ */ |
Property changes on: ppapi/tests/arch_dependent_sizes_64.h |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |