Index: ppapi/c/pp_size.h |
=================================================================== |
--- ppapi/c/pp_size.h (revision 72639) |
+++ ppapi/c/pp_size.h (working copy) |
@@ -8,30 +8,37 @@ |
/** |
* @file |
* Defines the API ... |
- * |
- * @addtogroup PP |
- * @{ |
*/ |
#include "ppapi/c/pp_macros.h" |
#include "ppapi/c/pp_stdint.h" |
+/** |
+ * @addtogroup Structs |
+ * @{ |
+ */ |
struct PP_Size { |
int32_t width; |
int32_t height; |
}; |
+/** |
+ * @} |
+ */ |
+ |
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_Size, 8); |
+/** |
+ * @addtogroup Functions |
+ * @{ |
+ */ |
PP_INLINE struct PP_Size PP_MakeSize(int32_t w, int32_t h) { |
struct PP_Size ret; |
ret.width = w; |
ret.height = h; |
return ret; |
} |
- |
/** |
* @} |
- * End addtogroup PP |
*/ |
#endif /* PPAPI_C_PP_SIZE_H_ */ |