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

Side by Side Diff: ppapi/c/pp_macros.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/pp_instance.h ('k') | ppapi/c/pp_module.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) 2010 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 pp_macros.idl modified Sat Jul 16 16:50:26 2011. */
7
5 #ifndef PPAPI_C_PP_MACROS_H_ 8 #ifndef PPAPI_C_PP_MACROS_H_
6 #define PPAPI_C_PP_MACROS_H_ 9 #define PPAPI_C_PP_MACROS_H_
7 10
11
8 /** 12 /**
9 * @file 13 * @file
10 * Defines the API ... 14 * Defines the API ...
11 * 15 */
16
17
18
19 /*
12 * @addtogroup PP 20 * @addtogroup PP
13 * @{ 21 * @{
14 */ 22 */
15 23
16 /* Use PP_INLINE to tell the compiler to inline functions. The main purpose of 24 /* Use PP_INLINE to tell the compiler to inline functions. The main purpose of
17 * inline functions in ppapi is to allow us to define convenience functions in 25 * inline functions in ppapi is to allow us to define convenience functions in
18 * the ppapi header files, without requiring clients or implementers to link a 26 * the ppapi header files, without requiring clients or implementers to link a
19 * PPAPI C library. The "inline" keyword is not supported by pre-C99 C 27 * PPAPI C library. The "inline" keyword is not supported by pre-C99 C
20 * compilers (such as MS Visual Studio 2008 and older versions of GCC). MSVS 28 * compilers (such as MS Visual Studio 2008 and older versions of GCC). MSVS
21 * supports __forceinline and GCC supports __inline__. Use of the static 29 * supports __forceinline and GCC supports __inline__. Use of the static
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 #define PP_COMPILE_ASSERT_ENUM_SIZE_IN_BYTES(NAME, SIZE) \ 93 #define PP_COMPILE_ASSERT_ENUM_SIZE_IN_BYTES(NAME, SIZE) \
86 PP_COMPILE_ASSERT_SIZE_IN_BYTES_IMPL(NAME, enum NAME, SIZE) 94 PP_COMPILE_ASSERT_SIZE_IN_BYTES_IMPL(NAME, enum NAME, SIZE)
87 95
88 /** 96 /**
89 * @} 97 * @}
90 * End of addtogroup PP 98 * End of addtogroup PP
91 */ 99 */
92 100
93 #endif /* PPAPI_C_PP_MACROS_H_ */ 101 #endif /* PPAPI_C_PP_MACROS_H_ */
94 102
OLDNEW
« no previous file with comments | « ppapi/c/pp_instance.h ('k') | ppapi/c/pp_module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698