Index: ppapi/api/pp_var.idl |
diff --git a/ppapi/api/pp_var.idl b/ppapi/api/pp_var.idl |
index 5927cbcf5435f8083c5988a9cedd9461688ad96e..1a6ad7e62b3f6b6cc7712c8148bf9ae2fde7d2a9 100644 |
--- a/ppapi/api/pp_var.idl |
+++ b/ppapi/api/pp_var.idl |
@@ -17,42 +17,42 @@ enum PP_VarType { |
/** |
* An undefined value. |
*/ |
- PP_VARTYPE_UNDEFINED, |
+ PP_VARTYPE_UNDEFINED = 0, |
/** |
* A NULL value. This is similar to undefined, but JavaScript differentiates |
* the two so it is exposed here as well. |
*/ |
- PP_VARTYPE_NULL, |
+ PP_VARTYPE_NULL = 1, |
/** |
* A boolean value, use the <code>as_bool</code> member of the var. |
*/ |
- PP_VARTYPE_BOOL, |
+ PP_VARTYPE_BOOL = 2, |
/** |
* A 32-bit integer value. Use the <code>as_int</code> member of the var. |
*/ |
- PP_VARTYPE_INT32, |
+ PP_VARTYPE_INT32 = 3, |
/** |
* A double-precision floating point value. Use the <code>as_double</code> |
* member of the var. |
*/ |
- PP_VARTYPE_DOUBLE, |
+ PP_VARTYPE_DOUBLE = 4, |
/** |
* The Var represents a string. The <code>as_id</code> field is used to |
* identify the string, which may be created and retrieved from the |
* <code>PPB_Var</code> interface. |
*/ |
- PP_VARTYPE_STRING, |
+ PP_VARTYPE_STRING = 5, |
/** |
* Represents a JavaScript object. This vartype is not currently usable |
* from modules, although it is used internally for some tasks. |
*/ |
- PP_VARTYPE_OBJECT, |
+ PP_VARTYPE_OBJECT = 6, |
/** |
* Arrays and dictionaries are not currently supported but will be added |
@@ -60,8 +60,8 @@ enum PP_VarType { |
* to properly AddRef/Release them as you would with strings to ensure your |
* module will continue to work with future versions of the API. |
*/ |
- PP_VARTYPE_ARRAY, |
- PP_VARTYPE_DICTIONARY |
+ PP_VARTYPE_ARRAY = 7, |
+ PP_VARTYPE_DICTIONARY = 8 |
}; |