[Groonga-commit] nroonga/nroonga at ff94e97 [master] Replace Local<Function>::New with Nan::New<Function>

Back to archive index

abetomo null+****@clear*****
Tue Sep 5 11:24:03 JST 2017


abetomo	2017-09-05 11:24:03 +0900 (Tue, 05 Sep 2017)

  New Revision: ff94e9766d38d40115b8d948939557be7d1888af
  https://github.com/nroonga/nroonga/commit/ff94e9766d38d40115b8d948939557be7d1888af

  Merged aa61187: Merge pull request #13 from abetomo/use_nan_helper_method

  Message:
    Replace Local<Function>::New with Nan::New<Function>

  Modified files:
    src/nroonga.cc

  Modified: src/nroonga.cc (+1 -1)
===================================================================
--- src/nroonga.cc    2017-09-05 11:19:26 +0900 (cca3938)
+++ src/nroonga.cc    2017-09-05 11:24:03 +0900 (c6dd0f0)
@@ -123,7 +123,7 @@ void Database::CommandAfter(uv_work_t* req) {
     argv[1] = Nan::NewBuffer(baton->result, baton->result_length)
         .ToLocalChecked();
   }
-  Local<Function>::New(isolate, baton->callback)
+  Nan::New<Function>(baton->callback)
       ->Call(Nan::GetCurrentContext()->Global(), 2, argv);
   grn_ctx_fin(&baton->context);
   delete baton;
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index