Index: ppapi/c/pp_point.h |
=================================================================== |
--- ppapi/c/pp_point.h (revision 72639) |
+++ ppapi/c/pp_point.h (working copy) |
@@ -8,30 +8,38 @@ |
/** |
* @file |
* Defines the API ... |
- * |
- * @addtogroup PP |
- * @{ |
*/ |
#include "ppapi/c/pp_macros.h" |
#include "ppapi/c/pp_stdint.h" |
+/** |
+ * |
+ * @addtogroup Structs |
+ * @{ |
+ */ |
struct PP_Point { |
int32_t x; |
int32_t y; |
}; |
+/** |
+ * @} |
+ */ |
+ |
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_Point, 8); |
+/** |
+ * @addtogroup Functions |
+ * @{ |
+ */ |
PP_INLINE struct PP_Point PP_MakePoint(int32_t x, int32_t y) { |
struct PP_Point ret; |
ret.x = x; |
ret.y = y; |
return ret; |
} |
- |
/** |
* @} |
- * End addtogroup PP |
*/ |
#endif /* PPAPI_C_PP_POINT_H_ */ |