Add google_apis_unittests, midi_unittests to GN swarming.
[chromium-blink-merge.git] / ppapi / c / pp_instance.h
blobbd6b7ab4d656e750543cb401cc91831b3ab2a570
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_instance.idl modified Sat Jul 16 16:50:26 2011. */
8 #ifndef PPAPI_C_PP_INSTANCE_H_
9 #define PPAPI_C_PP_INSTANCE_H_
11 #include "ppapi/c/pp_macros.h"
12 #include "ppapi/c/pp_stdint.h"
14 /**
15 * @file
16 * This file defines the PP_Instance type which uniquely identifies one module
17 * instance.
21 /**
22 * @addtogroup Typedefs
23 * @{
25 /**
26 * The <code>PP_Instance</code> value uniquely identifies one instance of a
27 * module (.nexe/PP_Module). There will be one module instance for every
28 * \<embed> tag on a page.
30 * This identifier is an opaque handle assigned by the browser to the module.
31 * It is guaranteed never to be 0, so a module can initialize it to 0 to
32 * indicate a "NULL handle."
34 typedef int32_t PP_Instance;
35 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Instance, 4);
36 /**
37 * @}
40 #endif /* PPAPI_C_PP_INSTANCE_H_ */