arch_dependent_sizes_32.h 896 B

1234567891011121314151617181920
  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.
  4. *
  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).
  7. */
  8. #ifndef PPAPI_TESTS_ARCH_DEPENDENT_SIZES_32_H_
  9. #define PPAPI_TESTS_ARCH_DEPENDENT_SIZES_32_H_
  10. PP_COMPILE_ASSERT_SIZE_IN_BYTES(GLintptr, 4);
  11. PP_COMPILE_ASSERT_SIZE_IN_BYTES(GLsizeiptr, 4);
  12. PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_CompletionCallback_Func, 4);
  13. PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLLoaderTrusted_StatusCallback, 4);
  14. PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_CompletionCallback, 12);
  15. PP_COMPILE_ASSERT_SIZE_IN_BYTES(PPB_VideoDecoder_Dev, 32);
  16. PP_COMPILE_ASSERT_SIZE_IN_BYTES(PPP_VideoDecoder_Dev, 16);
  17. #endif /* PPAPI_TESTS_ARCH_DEPENDENT_SIZES_32_H_ */