abetomo
null+****@clear*****
Thu Sep 7 17:27:18 JST 2017
abetomo 2017-09-07 17:27:18 +0900 (Thu, 07 Sep 2017) New Revision: 9388054041ab3793afa906c81e7d9a424d177bce https://github.com/nroonga/nroonga/commit/9388054041ab3793afa906c81e7d9a424d177bce Merged e41f6af: Merge pull request #17 from abetomo/fix_callback Message: Fix to cast with nan of As Modified files: src/nroonga.cc Modified: src/nroonga.cc (+1 -1) =================================================================== --- src/nroonga.cc 2017-09-07 10:08:56 +0900 (203295f) +++ src/nroonga.cc 2017-09-07 17:27:18 +0900 (791944f) @@ -138,7 +138,7 @@ void Database::CommandString(const Nan::FunctionCallbackInfo<v8::Value>& info) { Nan::ThrowTypeError("Second argument must be a callback function"); return; } - callback = v8::Local<v8::Function>::Cast(info[1]); + callback = info[1].As<v8::Function>(); } if (db->closed) { -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20170907/18158a42/attachment-0001.htm