1 /* Copyright (c) 2012 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.
5 * This file has compile assertions for the sizes of types that are dependent
6 * on the architecture for which they are compiled (i.e., 32-bit vs 64-bit).
9 #ifndef PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_
10 #define PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_
12 #include "ppapi/tests/test_struct_sizes.c"
14 // TODO(jschuh): Resolve ILP64 to LLP64 issue. crbug.com/177779
16 PP_COMPILE_ASSERT_SIZE_IN_BYTES(GLintptr
, 8);
17 PP_COMPILE_ASSERT_SIZE_IN_BYTES(GLsizeiptr
, 8);
19 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_CompletionCallback_Func
, 8);
20 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLLoaderTrusted_StatusCallback
, 8);
21 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_CompletionCallback
, 24);
22 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PPB_VideoDecoder_Dev
, 64);
23 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PPP_VideoDecoder_Dev
, 32);
25 #endif /* PPAPI_TESTS_ARCH_DEPENDENT_SIZES_64_H_ */