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.
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"
15 * This file provides a definition of C99 sized types
16 * for Microsoft compilers. These definitions only apply
17 * for trusted modules.
24 * @addtogroup Typedefs
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. */
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;
60 #endif /* PPAPI_C_PP_STDINT_H_ */