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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ppapi/c/pp_rect.h b/ppapi/c/pp_rect.h
index 8b76ebd..39808e2 100644
--- a/ppapi/c/pp_rect.h
+++ b/ppapi/c/pp_rect.h
@@ -13,6 +13,7 @@
* @{
*/
+#include "ppapi/c/pp_macros.h"
#include "ppapi/c/pp_point.h"
#include "ppapi/c/pp_size.h"
#include "ppapi/c/pp_stdint.h"
@@ -22,8 +23,8 @@ struct PP_Rect {
struct PP_Size size;
};
-inline struct PP_Rect PP_MakeRectFromXYWH(int32_t x, int32_t y,
- int32_t w, int32_t h) {
+PP_INLINE struct PP_Rect PP_MakeRectFromXYWH(int32_t x, int32_t y,
+ int32_t w, int32_t h) {
struct PP_Rect ret;
ret.point.x = x;
ret.point.y = y;