Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Side by Side Diff: ppapi/c/ppb_instance.h

Issue 5674004: Add compile assertions to enforce the sizes of all structs and enums in the C... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_C_PPB_INSTANCE_H_ 5 #ifndef PPAPI_C_PPB_INSTANCE_H_
6 #define PPAPI_C_PPB_INSTANCE_H_ 6 #define PPAPI_C_PPB_INSTANCE_H_
7 7
8 #include "ppapi/c/pp_bool.h" 8 #include "ppapi/c/pp_bool.h"
9 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
10 #include "ppapi/c/pp_resource.h" 10 #include "ppapi/c/pp_resource.h"
11 #include "ppapi/c/pp_var.h" 11 #include "ppapi/c/pp_var.h"
12 12
13 #define PPB_INSTANCE_INTERFACE "PPB_Instance;0.2" 13 #define PPB_INSTANCE_INTERFACE "PPB_Instance;0.3"
14 14
15 /** 15 /**
16 * @file 16 * @file
17 * Defines the API ... 17 * Defines the API ...
18 * 18 *
19 * @addtogroup PPB 19 * @addtogroup PPB
20 * @{ 20 * @{
21 */ 21 */
22 22
23 struct PPB_Instance { 23 struct PPB_Instance {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 struct PP_Var (*ExecuteScript)(PP_Instance instance, 82 struct PP_Var (*ExecuteScript)(PP_Instance instance,
83 struct PP_Var script, 83 struct PP_Var script,
84 struct PP_Var* exception); 84 struct PP_Var* exception);
85 }; 85 };
86 86
87 /** 87 /**
88 * @} 88 * @}
89 * End addtogroup PPB 89 * End addtogroup PPB
90 */ 90 */
91 #endif // PPAPI_C_PPB_INSTANCE_H_ 91 #endif // PPAPI_C_PPB_INSTANCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698