Never mind. It looks like that gyp generated project files need upgrade.
It links fine once upgraded.
On Wednesday, October 5, 2016 at 10:25:03 PM UTC-7, Jane Chen wrote:
>
> Trying to embed v8 5.3-lkgr on Windows.
>
> v8 build was successful. While linking my application, I get:
>
> v8_base_0
On Wed, Oct 5, 2016 at 2:54 PM, Zac Hansen wrote:
> I'm really getting the feeling I'm not doing this debugging work right.
>
> I'm spending a lot of time "grepping" out values from the javascript objects
> in EventDetails into c++, then basically using printf to create some
> javascript code usin
I don’t think the problem is allocating the handle on the heap, I’m doing that
in my code too. The significant difference between your code and my code is
that I’m using a FunctionTemplate and trying to get a weak callback on the
Functions it creates, and you’re using an ObjectTemplate. When I c
Hi all,
I'm using ObjectTemplate to create JS empty objects that are simple
wrappers of a c++ object
(in the JS code they are just used as "handles" to pass the objects around
in the script).
I was just wondering if there is any issue or penalty to use a new
ObjectTemplate every time (see code
A guess would be that it only works on types with internal fields, which
are only objecttemplate-sourced objects. That's the only thing that would
need any type of user-specified code to run on GC. But that's just a
guess. A quick glance at the source doesn't back it up.
On Thu, Oct 6, 2016 a
Interestingly, the %s/Function/Object/g version worked without adding a call to
SetInternalFieldCount.
~Theodore
> On Oct 6, 2016, at 2:50 PM, Zac Hansen wrote:
>
> A guess would be that it only works on types with internal fields, which are
> only objecttemplate-sourced objects. That's the
If possible, reusing the object template will save space, and is preferable
On Thu, Oct 6, 2016 at 8:18 PM Riccardo Corsi
wrote:
> Hi all,
>
> I'm using ObjectTemplate to create JS empty objects that are simple
> wrappers of a c++ object
> (in the JS code they are just used as "handles" to pass