Update CrxUpdateService Memcheck::Leak suppression to match new signature.
[chromium-blink-merge.git] / ppapi / api / pp_stdint.idl
blob5137f907921e05511d0da8c5affceb9f8921f8a3
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 /**
7 * This file provides a definition of C99 sized types
8 * for Microsoft compilers. These definitions only apply
9 * for trusted modules.
12 label Chrome {
13 M13 = 0.0
16 [version=0.0]
17 describe {
18 /** Standard Ints. */
19 int8_t;
20 int16_t;
21 int32_t;
22 int64_t;
23 uint8_t;
24 uint16_t;
25 uint32_t;
26 uint64_t;
27 /** Small and large floats. */
28 double_t;
29 float_t;
31 /** Native file handle (int). */
32 handle_t;
34 /** Interface object (void *). */
35 interface_t;
37 /** Used for padding, should be (u)int8_t */
38 char;
40 /** Pointer to memory (void *). */
41 mem_t;
43 /** Pointer to null terminated string (char *). */
44 str_t;
46 /** No return value. */
47 void;
50 #inline c
52 /**
54 * @addtogroup Typedefs
55 * @{
57 #if defined(_MSC_VER)
59 /** This value represents a guaranteed unsigned 8 bit integer. */
60 typedef unsigned char uint8_t;
62 /** This value represents a guaranteed signed 8 bit integer. */
63 typedef signed char int8_t;
65 /** This value represents a guaranteed unsigned 16 bit short. */
66 typedef unsigned short uint16_t;
68 /** This value represents a guaranteed signed 16 bit short. */
69 typedef short int16_t;
71 /** This value represents a guaranteed unsigned 32 bit integer. */
72 typedef unsigned int uint32_t;
74 /** This value represents a guaranteed signed 32 bit integer. */
75 typedef int int32_t;
77 /** This value represents a guaranteed signed 64 bit integer. */
78 typedef __int64 int64_t;
80 /** This value represents a guaranteed unsigned 64 bit integer. */
81 typedef unsigned __int64 uint64_t;
83 #else
84 #include <stdint.h>
85 #endif
86 /**
87 * @}
90 #endinl