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

Side by Side Diff: ppapi/c/ppb_class.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_CLASS_H_ 5 #ifndef PPAPI_C_PPB_CLASS_H_
6 #define PPAPI_C_PPB_CLASS_H_ 6 #define PPAPI_C_PPB_CLASS_H_
7 7
8 #include "ppapi/c/pp_module.h" 8 #include "ppapi/c/pp_module.h"
9 #include "ppapi/c/pp_resource.h" 9 #include "ppapi/c/pp_resource.h"
10 #include "ppapi/c/pp_stdint.h" 10 #include "ppapi/c/pp_stdint.h"
11 #include "ppapi/c/pp_var.h" 11 #include "ppapi/c/pp_var.h"
12 #include "ppapi/c/ppb_var.h" 12 #include "ppapi/c/ppb_var.h"
13 13
14 #define PPB_CLASS_INTERFACE "PPB_Class;0.2" 14 #define PPB_CLASS_INTERFACE "PPB_Class;0.3"
15 15
16 /** 16 /**
17 * @file 17 * @file
18 * Defines the PPB_Class struct. 18 * Defines the PPB_Class struct.
19 * 19 *
20 * @addtogroup PPB 20 * @addtogroup PPB
21 * @{ 21 * @{
22 */ 22 */
23 23
24 /** 24 /**
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 struct PP_Var (*Instantiate)(PP_Resource class_object, 115 struct PP_Var (*Instantiate)(PP_Resource class_object,
116 void* native_ptr, 116 void* native_ptr,
117 struct PP_Var* exception); 117 struct PP_Var* exception);
118 }; 118 };
119 119
120 /** 120 /**
121 * @} 121 * @}
122 * End addtogroup PPP 122 * End addtogroup PPP
123 */ 123 */
124 #endif // PPAPI_C_PPP_CLASS_H_ 124 #endif // PPAPI_C_PPP_CLASS_H_
OLDNEW
« ppapi/c/dev/pp_video_dev.h ('K') | « ppapi/c/pp_var.h ('k') | ppapi/c/ppb_image_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698