Created
April 11, 2017 19:13
-
-
Save mbroadst/85db6752caa02515db4040d8a3a47869 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static NAN_METHOD(Test) { | |
// do some work | |
DoReturn(info); | |
} | |
void DoReturn(const Nan::FunctionCallbackInfo<v8::Value> &info) { | |
info.GetReturnValue().Set(5555); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment