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

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

Issue 7399016: More trivial cleanupi of ppapi/c headers (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months 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
« no previous file with comments | « ppapi/c/ppb_var.h ('k') | ppapi/c/ppp_input_event.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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
6 /* From ppp.idl modified Sat Jul 16 16:50:26 2011. */
7
5 #ifndef PPAPI_C_PPP_H_ 8 #ifndef PPAPI_C_PPP_H_
6 #define PPAPI_C_PPP_H_ 9 #define PPAPI_C_PPP_H_
7 10
11 #include "ppapi/c/pp_macros.h"
12
13 /**
14 * @file
15 * This file defines three functions that your module must
16 * implement to interact with the browser.
17 */
18
19
20
8 #include "ppapi/c/pp_module.h" 21 #include "ppapi/c/pp_module.h"
9 #include "ppapi/c/pp_stdint.h" 22 #include "ppapi/c/pp_stdint.h"
10 #include "ppapi/c/ppb.h" 23 #include "ppapi/c/ppb.h"
11 24
12 #if __GNUC__ >= 4 25 #if __GNUC__ >= 4
13 #define PP_EXPORT __attribute__ ((visibility("default"))) 26 #define PP_EXPORT __attribute__ ((visibility("default")))
14 #elif defined(_MSC_VER) 27 #elif defined(_MSC_VER)
15 #define PP_EXPORT __declspec(dllexport) 28 #define PP_EXPORT __declspec(dllexport)
16 #endif 29 #endif
17 30
18 /**
19 * @file
20 * This file defines three functions that your module must
21 * implement to interact with the browser.
22 */
23
24 // {PENDING: undefine PP_EXPORT?} 31 // {PENDING: undefine PP_EXPORT?}
25 32
26
27 /* We don't want name mangling for these external functions. We only need 33 /* We don't want name mangling for these external functions. We only need
28 * 'extern "C"' if we're compiling with a C++ compiler. 34 * 'extern "C"' if we're compiling with a C++ compiler.
29 */ 35 */
30 #ifdef __cplusplus 36 #ifdef __cplusplus
31 extern "C" { 37 extern "C" {
32 #endif 38 #endif
33 39
34 /** 40 /**
35 * @addtogroup Functions 41 * @addtogroup Functions
36 * @{ 42 * @{
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 PP_EXPORT const void* PPP_GetInterface(const char* interface_name); 107 PP_EXPORT const void* PPP_GetInterface(const char* interface_name);
102 /** 108 /**
103 * @} 109 * @}
104 */ 110 */
105 111
106 #ifdef __cplusplus 112 #ifdef __cplusplus
107 } /* extern "C" */ 113 } /* extern "C" */
108 #endif 114 #endif
109 115
110 #endif /* PPAPI_C_PPP_H_ */ 116 #endif /* PPAPI_C_PPP_H_ */
117
OLDNEW
« no previous file with comments | « ppapi/c/ppb_var.h ('k') | ppapi/c/ppp_input_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698