Skip to content

Instantly share code, notes, and snippets.

@hi-im-milan
Created April 11, 2015 22:11
Show Gist options
  • Save hi-im-milan/53a20650fae88485f86c to your computer and use it in GitHub Desktop.
Save hi-im-milan/53a20650fae88485f86c to your computer and use it in GitHub Desktop.
Bug
Handle<Object> obj;
int argc;
Handle<Value> argv[argc];
if (resp!=NULL){
if (messageFactory->hasObject(resp->getName())){
obj=messageFactory->wrapObject(resp->getName(),getIsolate(),resp);
argc=1;
argv[0]=obj;
}else{
argc=0;
}
}else{
argc=0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment