summaryrefslogtreecommitdiffstats
path: root/ppapi/c/pp_var.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/c/pp_var.h')
-rw-r--r--ppapi/c/pp_var.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ppapi/c/pp_var.h b/ppapi/c/pp_var.h
index 81596d6..fad5db4 100644
--- a/ppapi/c/pp_var.h
+++ b/ppapi/c/pp_var.h
@@ -27,6 +27,8 @@ typedef enum {
PP_VARTYPE_OBJECT
} PP_VarType;
+PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VarType, 4);
+
/**
* Do not rely on having a predictable and reproducible
* int/double differentiation.