Re: [v8-users] where is the implementation of ObjectTemplate constructor?

2018-07-23 Thread fengxingren
Thanks. So the heap object 's "member data" are initialized by READ_FILEDS macro which directly read by offset. 在 2018年7月21日星期六 UTC+8上午1:36:42,Jakob Kummerow写道: > > ObjectTemplate has no constructor (because it lives on the managed heap, > where C++ constructors don't make sense). Declaring a

Re: [v8-users] where is the implementation of ObjectTemplate constructor?

2018-07-20 Thread Jakob Kummerow
ObjectTemplate has no constructor (because it lives on the managed heap, where C++ constructors don't make sense). Declaring a private constructor (without defining it anywhere) prevents the C++ compiler from automatically creating a default constructor. The only way to create an ObjectTemplate is

[v8-users] where is the implementation of ObjectTemplate constructor?

2018-07-20 Thread fengxingren
Hi, ObjectTemplate is declared in v8.h, and it's constructor was declared as private. But where is the implementation of it's constructor? I can't find it's source code. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this