[Groonga-commit] nroonga/nroonga at 45b2eba [master] Fix the number of characters to 80 characters or less

Back to archive index

abetomo null+****@clear*****
Thu Aug 31 12:20:46 JST 2017


abetomo	2017-08-31 12:20:46 +0900 (Thu, 31 Aug 2017)

  New Revision: 45b2ebae04c504fd622caec26a46ecade2ccf08c
  https://github.com/nroonga/nroonga/commit/45b2ebae04c504fd622caec26a46ecade2ccf08c

  Merged 4a52907: Merge pull request #9 from abetomo/clean_coding_style

  Message:
    Fix the number of characters to 80 characters or less

  Modified files:
    src/nroonga.cc

  Modified: src/nroonga.cc (+8 -4)
===================================================================
--- src/nroonga.cc    2017-08-31 12:17:42 +0900 (8f8380e)
+++ src/nroonga.cc    2017-08-31 12:20:46 +0900 (05cc631)
@@ -131,13 +131,16 @@ void Database::CommandAfter(uv_work_t* req) {
   Baton* baton = static_cast<Baton*>(req->data);
   Handle<Value> argv[2];
   if (baton->error) {
-    argv[0] = Exception::Error(String::NewFromUtf8(isolate, baton->context.errbuf));
+    argv[0] = Exception::Error(String::NewFromUtf8(isolate,
+                                                   baton->context.errbuf));
     argv[1] = Null(isolate);
   } else {
     argv[0] = Null(isolate);
-    argv[1] = Buffer::New(isolate, baton->result, baton->result_length).ToLocalChecked();
+    argv[1] = Buffer::New(isolate, baton->result, baton->result_length)
+        .ToLocalChecked();
   }
-  Local<Function>::New(isolate, baton->callback)->Call(isolate->GetCurrentContext()->Global(), 2, argv);
+  Local<Function>::New(isolate, baton->callback)
+      ->Call(isolate->GetCurrentContext()->Global(), 2, argv);
   grn_ctx_fin(&baton->context);
   delete baton;
 }
@@ -233,7 +236,8 @@ void Database::CommandSyncString(const FunctionCallbackInfo<Value>& args) {
     return;
   }
 
-  args.GetReturnValue().Set(Buffer::New(isolate, result, result_length).ToLocalChecked()->ToString());
+  args.GetReturnValue().Set(
+      Buffer::New(isolate, result, result_length).ToLocalChecked()->ToString());
 }
 
 void InitNroonga(Handle<Object> target) {
-------------- next part --------------
HTML����������������������������...
Download 



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