Shaka Player Embedded
|
#include <register_member.h>
This defines the callback that is invoked when a JavaScript constructor is called.
This is slightly different than JsConstructorCreateOrThrow since it needs to handle C++ created objects. When we create a C++ object and pass to JavaScript, we need to create a JavaScript object for it. We still need to invoke the same constructor for this case. This class handles this special case and then forwards to JsConstructorCreateOrThrow.
Definition at line 510 of file register_member.h.