summaryrefslogtreecommitdiffstats
path: root/ppapi/c/pp_rect.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/c/pp_rect.h')
-rw-r--r--ppapi/c/pp_rect.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/ppapi/c/pp_rect.h b/ppapi/c/pp_rect.h
index 9fae6f8..3debabb 100644
--- a/ppapi/c/pp_rect.h
+++ b/ppapi/c/pp_rect.h
@@ -8,9 +8,6 @@
/**
* @file
* Defines the API ...
- *
- * @addtogroup PP
- * @{
*/
#include "ppapi/c/pp_macros.h"
@@ -18,12 +15,23 @@
#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 +41,8 @@ PP_INLINE struct PP_Rect PP_MakeRectFromXYWH(int32_t x, int32_t y,
ret.size.height = h;
return ret;
}
-
/**
* @}
- * End addtogroup PP
*/
#endif /* PPAPI_C_PP_RECT_H_ */