Activate SwigModuleInitializer for in v8 emitter.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9a914af2b7
commit
21bdb78f1c
2 changed files with 21 additions and 13 deletions
|
|
@ -107,6 +107,8 @@ extern "C" {
|
|||
|
||||
void $jsname_initialize(v8::Handle<v8::Context> context)
|
||||
{
|
||||
SWIG_InitializeModule(0);
|
||||
|
||||
v8::HandleScope scope;
|
||||
v8::Local<v8::Object> global = context->Global();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue