зеркало из https://github.com/mozilla/pjs.git
Bug 599764: Define jsval in terms of a type we control, not a type defined, depending on circumstances, by either NSPR or our own headers. r=luke
This commit is contained in:
Родитель
05667edeb7
Коммит
5acf54c185
|
@ -831,8 +831,8 @@ extern "C++"
|
|||
#else /* defined(JS_USE_JSVAL_JSID_STRUCT_TYPES) */
|
||||
|
||||
/* Use different primitive types so overloading works. */
|
||||
typedef JSVAL_ALIGNMENT uint64 jsval;
|
||||
typedef ptrdiff_t jsid;
|
||||
typedef JSVAL_ALIGNMENT JSUint64 jsval;
|
||||
typedef ptrdiff_t jsid;
|
||||
|
||||
/* Internal helper macros */
|
||||
#define JSVAL_BITS(v) (v)
|
||||
|
|
Загрузка…
Ссылка в новой задаче