[Groonga-commit] nroonga/nroonga at fe4328b [master] Replace node::ObjectWrap with Nan::ObjectWrap

Back to archive index

abetomo null+****@clear*****
Wed Sep 6 10:13:12 JST 2017


abetomo	2017-09-06 10:13:12 +0900 (Wed, 06 Sep 2017)

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

  Merged 1abb401: Merge pull request #14 from abetomo/use_nan_object_wrap

  Message:
    Replace node::ObjectWrap with Nan::ObjectWrap

  Modified files:
    src/nroonga.cc
    src/nroonga.h

  Modified: src/nroonga.cc (+0 -1)
===================================================================
--- src/nroonga.cc    2017-09-05 18:41:06 +0900 (687276d)
+++ src/nroonga.cc    2017-09-06 10:13:12 +0900 (f9dae1b)
@@ -1,4 +1,3 @@
-#include <nan.h>
 #include "nroonga.h"
 
 namespace nroonga {

  Modified: src/nroonga.h (+2 -1)
===================================================================
--- src/nroonga.h    2017-09-05 18:41:06 +0900 (59884b8)
+++ src/nroonga.h    2017-09-06 10:13:12 +0900 (57b660a)
@@ -1,5 +1,6 @@
 #ifndef NROONGA_GROONGA_H
 #define NROONGA_GROONGA_H
+#include <nan.h>
 #include <uv.h>
 #include <node.h>
 #include <node_object_wrap.h>
@@ -13,7 +14,7 @@ using namespace node;
 
 namespace nroonga {
 
-class Database : public node::ObjectWrap {
+class Database : public Nan::ObjectWrap {
   grn_ctx context;
   grn_obj *database;
   bool closed;
-------------- next part --------------
HTML����������������������������...
Download 



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