Add google_apis_unittests, midi_unittests to GN swarming.
[chromium-blink-merge.git] / ppapi / c / pp_stdint.h
blob44332703ea0388425a7d81d85a489bf9d9486a06
1 /* Copyright (c) 2011 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 */
6 /* From pp_stdint.idl modified Mon Jul 18 17:53:53 2011. */
8 #ifndef PPAPI_C_PP_STDINT_H_
9 #define PPAPI_C_PP_STDINT_H_
11 #include "ppapi/c/pp_macros.h"
13 /**
14 * @file
15 * This file provides a definition of C99 sized types
16 * for Microsoft compilers. These definitions only apply
17 * for trusted modules.
22 /**
24 * @addtogroup Typedefs
25 * @{
27 #if defined(_MSC_VER)
29 /** This value represents a guaranteed unsigned 8 bit integer. */
30 typedef unsigned char uint8_t;
32 /** This value represents a guaranteed signed 8 bit integer. */
33 typedef signed char int8_t;
35 /** This value represents a guaranteed unsigned 16 bit short. */
36 typedef unsigned short uint16_t;
38 /** This value represents a guaranteed signed 16 bit short. */
39 typedef short int16_t;
41 /** This value represents a guaranteed unsigned 32 bit integer. */
42 typedef unsigned int uint32_t;
44 /** This value represents a guaranteed signed 32 bit integer. */
45 typedef int int32_t;
47 /** This value represents a guaranteed signed 64 bit integer. */
48 typedef __int64 int64_t;
50 /** This value represents a guaranteed unsigned 64 bit integer. */
51 typedef unsigned __int64 uint64_t;
53 #else
54 #include <stdint.h>
55 #endif
56 /**
57 * @}
60 #endif /* PPAPI_C_PP_STDINT_H_ */