Index: ppapi/c/pp_rect.h |
=================================================================== |
--- ppapi/c/pp_rect.h (revision 72639) |
+++ ppapi/c/pp_rect.h (working copy) |
@@ -8,9 +8,6 @@ |
/** |
* @file |
* Defines the API ... |
- * |
- * @addtogroup PP |
- * @{ |
*/ |
#include "ppapi/c/pp_macros.h" |
@@ -18,12 +15,24 @@ |
#include "ppapi/c/pp_size.h" |
#include "ppapi/c/pp_stdint.h" |
+/** |
+ * @addtogroup Structs |
+ * @{ |
+ */ |
struct PP_Rect { |
struct PP_Point point; |
struct PP_Size size; |
}; |
+/** |
+ * @} |
+ */ |
+ |
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_Rect, 16); |
+/** |
+ * @addtogroup Functions |
+ * @{ |
+ */ |
PP_INLINE struct PP_Rect PP_MakeRectFromXYWH(int32_t x, int32_t y, |
int32_t w, int32_t h) { |
struct PP_Rect ret; |
@@ -33,10 +42,8 @@ |
ret.size.height = h; |
return ret; |
} |
- |
/** |
* @} |
- * End addtogroup PP |
*/ |
#endif /* PPAPI_C_PP_RECT_H_ */ |