Skip to content

Instantly share code, notes, and snippets.

@jedi4ever
Created December 10, 2012 14:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jedi4ever/4250746 to your computer and use it in GitHub Desktop.
Save jedi4ever/4250746 to your computer and use it in GitHub Desktop.
Handle<Value> params[2] = {
String::New("child"), // event name
String::New("somevalue") // event name
};
v8::Local<v8::Object> ctx = Context::GetCurrent()->Global();
MakeCallback(ctx, "emit", 2, params);
term.on('child', function (err) {
console.log(err);
});
Non-function in MakeCallback. method = emit
Abort trap: 6
@kevzettler
Copy link

Any findings on this? I just googled for the same output and found this. Would appreciate it if you ever resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment