Does class v8::Integer contain a 32-bit or 64-bit integer ?

I ask because (at least in version 1.3.9.1 from September 9th), in the
v8::Integer class declaration (at line 1059 of .../include/v8.h), its
New() method takes an int32_t value, but its Value() method returns an
int64_t value.

I hope the answer is that v8::Integer contains a 64-bit integer, and
its New() method should take an int64_t value.

If so, then the v8::Int32 and v8::Uint32 classes probably need their
own New() methods that match their Value() methods, taking int32_t and
uint32_t values, respectively.

-- Ed Pring





--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to