I could not get the ObjectWrap Factory example myobject.cc running, because env.SetInstanceData() and env.GetInstanceData() methods do not exist. Is there a working example?
Trying to create the Child ObjectWrap object instance, I call the Child::Init method. The instance is created but the Child::Child constructor not called and the instance not properly initialised. How to create an initialised Child object instance?
I could not get the ObjectWrap Factory example myobject.cc running, because
env.SetInstanceData()andenv.GetInstanceData()methods do not exist. Is there a working example?Trying to create the Child ObjectWrap object instance, I call the Child::Init method. The instance is created but the Child::Child constructor not called and the instance not properly initialised. How to create an initialised Child object instance?