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

Unified Diff: ppapi/c/pp_bool.h

Issue 7308010: Formatting changes (Closed) Base URL: svn://svn.chromium.org/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ppapi/c/pp_completion_callback.h » ('j') | ppapi/c/pp_completion_callback.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/pp_bool.h
===================================================================
--- ppapi/c/pp_bool.h (revision 91508)
+++ ppapi/c/pp_bool.h (working copy)
@@ -37,6 +37,10 @@
#ifdef __cplusplus
/**
* Converts a C++ "bool" type to a PP_Bool.
+ *
+ * @param[in] b A C++ "bool" type.
+ *
+ * @return A PP_Bool.
*/
inline PP_Bool PP_FromBool(bool b) {
return b ? PP_TRUE : PP_FALSE;
@@ -44,6 +48,10 @@
/**
* Converts a PP_Bool to a C++ "bool" type.
+ *
+ * @param[in] b A PP_Bool.
+ *
+ * @return A C++ "bool" type.
*/
inline bool PP_ToBool(PP_Bool b) {
return (b != PP_FALSE);
« no previous file with comments | « no previous file | ppapi/c/pp_completion_callback.h » ('j') | ppapi/c/pp_completion_callback.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698