diff options
Diffstat (limited to 'ppapi/c/pp_point.h')
-rw-r--r-- | ppapi/c/pp_point.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/ppapi/c/pp_point.h b/ppapi/c/pp_point.h index fe15dbe..8ff052e 100644 --- a/ppapi/c/pp_point.h +++ b/ppapi/c/pp_point.h @@ -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_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_ */ |