diff options
author | jond@google.com <jond@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-28 15:38:38 +0000 |
---|---|---|
committer | jond@google.com <jond@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-28 15:38:38 +0000 |
commit | 040d5e8ab48c9afd2e6b4cf5242ac046246294a9 (patch) | |
tree | 0ea586d994085daa68a9b755f537ebe93f82d808 /ppapi/c/pp_var.h | |
parent | 37b5646dc039811b09502b501dffd7c8a35202cd (diff) | |
download | chromium_src-040d5e8ab48c9afd2e6b4cf5242ac046246294a9.zip chromium_src-040d5e8ab48c9afd2e6b4cf5242ac046246294a9.tar.gz chromium_src-040d5e8ab48c9afd2e6b4cf5242ac046246294a9.tar.bz2 |
Removed Doxygen groupings by ppb_, pp_, and ppp_. Added grouping by construct (enums, interfaces, and so on).
Review URL: http://codereview.chromium.org/6297018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72960 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c/pp_var.h')
-rw-r--r-- | ppapi/c/pp_var.h | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/ppapi/c/pp_var.h b/ppapi/c/pp_var.h index 9a429cb..a53a5e8 100644 --- a/ppapi/c/pp_var.h +++ b/ppapi/c/pp_var.h @@ -8,15 +8,17 @@ /** * @file * Defines the API ... - * - * @addtogroup PP - * @{ */ #include "ppapi/c/pp_bool.h" #include "ppapi/c/pp_macros.h" #include "ppapi/c/pp_stdint.h" +/** + * + * @addtogroup Enums + * @{ + */ typedef enum { PP_VARTYPE_UNDEFINED, PP_VARTYPE_NULL, @@ -27,6 +29,14 @@ typedef enum { PP_VARTYPE_OBJECT } PP_VarType; PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VarType, 4); +/** + * @} + */ + +/** + * @addtogroup Structs + * @{ + */ /** * Do not rely on having a predictable and reproducible @@ -39,6 +49,7 @@ PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VarType, 4); * * Your best bet is to have a wrapper for variables * that always gets out the type you expect, converting as necessary. + * */ struct PP_Var { PP_VarType type; @@ -63,7 +74,14 @@ struct PP_Var { } value; }; PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_Var, 16); +/** + * @} + */ +/** + * @addtogroup Functions + * @{ + */ PP_INLINE struct PP_Var PP_MakeUndefined() { struct PP_Var result = { PP_VARTYPE_UNDEFINED, 0, {PP_FALSE} }; return result; @@ -91,10 +109,9 @@ PP_INLINE struct PP_Var PP_MakeDouble(double value) { result.value.as_double = value; return result; } - /** * @} - * End addtogroup PP */ + #endif /* PPAPI_C_PP_VAR_H_ */ |