args[0].Asv8::Array()
On Tue, Jan 15, 2013 at 3:16 AM, amourfou amourfo...@gmail.com wrote:
In the following source codes, if args[0] is array object, let me know how
to convert it to v8::Array or handle it.
... Test(const v8::Arguments args)
{
...
if (args[0]-IsArray() ==
On Tue, Jan 15, 2013 at 3:16 AM, amourfou amourfo...@gmail.com wrote:
In the following source codes, if args[0] is array object, let me know how
to convert it to v8::Array or handle it.
... if (args[0]-IsArray() == true)
{
HandleArray ar( Array::Cast(args[0]) );
}
}
--
Hi,
Need some info about memory Configuration, can we reduce the memory
consumption in v8 through any settings, if yes please let me know the
settings.
Secondly in Garbage collection cycles there seems to be GC pause can this
GC pause be configured, please let me the file where to configure
HandleArray ar( Array::Cast(args[0]) );
Quick fix: HandleArray ar( HandleArray::Cast(args[0]) );
Or use the -As... as posted by Matthias Ernst.
--
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
Hi,
after updating to recent SVN trunk, my windows build ends in the very end
(linking) by spitting out these messages:
Creating library file: libv8.a
The SCons build is unmaintained and no longer being tested. It is entirely
possible that it is broken. You should really migrate away from it, as we
will delete the SCons-related files Really Soon Now™.
In this particular case, code-stubs-hydrogen.cc is probably missing. If
you're lucky, adding
Is there a specific reason you are using MinGW to compile V8?
Yes - I am maintaining my embedding (TeaJS) for more than 4 years and I am
compiling it with MinGW from the very start. Both V8 and TeaJS. I spent
quite a lot of time to make everything work (including support for 3rd
party
I have tried the above but i don;t think that it works correctly.
Have you found another way to set an Object to null ?
On Friday, 8 April 2011 19:29:04 UTC+3, mcot wrote:
I think I solved my problem:
v8::HandleScope hndl_scope;
...
...
v8::Handlev8::Object obj =
Hi people!
I will create in project (Node.js) a lot of object withÑ
var obj = { author: aValue };
maybe in different parts of the application (not in the same line/place)
the symbol/string author, is allocated only once? or is allocated only
once per line of code?
Maybe I should ask: the
On Fri, Jan 11, 2013 at 5:32 PM, Chris Angelico ros...@gmail.com wrote:
What is the proper way to handle this? According to the docs for
V8::IgnoreOutOfMemoryException, *contexts* other than the one that had
trouble ought to be able to continue. So in theory, this basic
technique should work -
10 matches
Mail list logo